.payment_box.payment_method_card_to_card > p{
	margin-bottom: 7px;
}

.ctc-cards-list {display: flex;/* flex-wrap: wrap; */gap: 16px;margin: 0px 0 22px 0;padding-top: 5px;padding-bottom: 5px;}

.ctc-card-label {cursor: pointer;display: inline-flex;}
.ctc-card-label input[type=radio] { display: none; }

.ctc-card {
    width: 300px;
    height: 170px;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 3px 9px  2px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.cts-card-wide .ctc-card-label, .cts-card-wide .ctc-card{ width: 100% }
.ctc-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -60px;
    right: -40px;
    z-index: 0;
}
.ctc-card-label input:checked + .ctc-card,
.ctc-card:hover { box-shadow: 0 3px 9px -3px rgba(0, 0, 0, .2);}
.ctc-card:hover {transform: translateY(-4px);box-shadow: 0 3px 9px -3px rgba(0, 0, 0, .3);}

.ctc-card-label input:checked + .ctc-card {outline: 1px solid #fff;}

.ctc-card-top { display: flex; justify-content: space-between; align-items: center; }
.ctc-card-logo {max-height: 32px;object-fit: contain;width: 38px;}
.ctc-card-field {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0;
	flex-direction: row-reverse;
	justify-content: flex-start;
	position: relative;
	z-index: 10;
}
.ctc-card-bank { font-size: 13px; opacity: .85; }
.ctc-card-number {font-size: 15px;letter-spacing: 3px;text-align: center;font-weight: bold;}
.ctc-card-bottom {display: flex;justify-content: space-between;font-size: 12px;opacity: .9;flex-direction: row-reverse;}
.ctc-card-sheba {
	font-family: 'Tahoma', sans-serif;
	letter-spacing: 1px;
}
.ctc-extra-fields { margin: 16px 0; }
.ctc-field-row { margin-bottom: 12px; }
.ctc-field-row label {display: block;font-weight: 500;margin-bottom: 8px;font-size: 11px;}
.ctc-field-row input, .ctc-field-row textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 14px; box-sizing: border-box;
}
.ctc-field-row textarea { min-height: 80px; resize: vertical; }

.ctc-upload-section {margin-top: 20px;padding: 16px;background: #ffffff;border-radius: 10px;border: 1px dashed #ccc;}
.ctc-upload-section h4 {margin: 0 0 12px;font-size: 12px;display: flex;align-items: center;}

.ctc-upload-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #333;
    color: #fff !important;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
}
.ctc-upload-btn:hover {background: #555;}

.ctc-upload-loading {margin-top: 10px;color: #555;font-size: 12px;display: flex;align-items: center;gap: 8px;}
.ctc-spinner {
    width: 16px; height: 16px; border: 2px solid #ccc; border-top-color: #f9f9f9;
    border-radius: 50%; animation: ctc-spin .7s linear infinite; display: inline-block;
}
@keyframes ctc-spin { to { transform: rotate(360deg); } }

.ctc-receipts-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }

.ctc-receipt-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid #f9f9f9;
    overflow: hidden;
    background: #eee;
    object-fit: contain;
}
.ctc-receipt-item img { width: 100%; height: 100%; object-fit: cover; }
.ctc-receipt-item .ctc-pdf-icon { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 28px; }
.ctc-receipt-item .ctc-remove-receipt {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 10px;
    line-height: 20px;
    text-align: center;
    font-family: Arial;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctc-note {font-size: 11px;color: #888;margin-top: 8px;font-weight: 100;margin-right: auto;}

.ctc-copy-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    padding: 3px 5px;
    line-height: 0;
    transition: background .2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctc-copy-btn svg{
	stroke: white
}
.ctc-copy-btn:hover {background: rgba(255,255,255,0.3) !important;border: none !important;}

.horizontal_scroll_css{
    white-space: nowrap;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.horizontal_scroll_css::-webkit-scrollbar {
	height: 2px;
	background: #eee;
	border-radius: 4px
}
.horizontal_scroll_css::-webkit-scrollbar-corner {
	background-color: #282828;
	display: block;
	border-radius: 4px
}
.horizontal_scroll_css::-webkit-scrollbar-thumb {
	background-color: #b5b5b5;
	border-radius: 4px
}
.ctc-thankyou-wrap {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    align-items: stretch;
    overflow: hidden;
}
.ctc-card-side {
    flex: 0 0 280px;
}

.ctc-details-side {
    flex: 1;
    min-width: 0;
    gap: 10px;
    display: grid;
}

.ctc-detail-box {
    background: #f3f5f7a6;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    height: 100%;
}
.ctc-details-side .ctc-detail-box {
	height: auto;
	margin: 0;
}
.ctc-detail-box h4 {
    margin: 0 0 10px;
    font-size: 12px;
    color: #777;
    background-color: white;
    border-radius: inherit;
    padding: 5px 10px;
}

.ctc-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.ctc-detail-row:last-child { border-bottom: none; }

.ctc-receipt-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ctc-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 1px;
}

.ctc-pdf-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: #555;
}

@media (max-width: 640px) {
    .ctc-thankyou-wrap {
        flex-direction: column;
    }
	.ctc-card-side .ctc-card{
		max-width: 100%
	}
    .ctc-card-side, .ctc-details-side {
        flex: unset;
        width: 100%;
    }
}