/* bKash / Nagad / Rocket payment box (Smart Side Cart & Checkout). */

.wc_payment_method .scc-mp-badge,
.scc-mp-badge { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--mp); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .2px; vertical-align: middle; }
.wc_payment_method img.scc-mp-icon { display: inline-block; max-height: 26px; width: auto; margin-left: 6px; vertical-align: middle; }

.payment_box.payment_method_scc_bkash,
.payment_box.payment_method_scc_nagad,
.payment_box.payment_method_scc_rocket { padding: 0 !important; background: transparent !important; }
.payment_box.payment_method_scc_bkash::before,
.payment_box.payment_method_scc_nagad::before,
.payment_box.payment_method_scc_rocket::before { display: none !important; }

.scc-mp { margin: 10px 0 4px; padding: 16px; border: 1px solid color-mix(in srgb, var(--mp) 25%, #e5e7eb); border-radius: 14px; background: color-mix(in srgb, var(--mp) 5%, #fff); color: #1f2937; font-size: 14px; line-height: 1.55; }
.scc-mp-desc { margin: 0 0 12px !important; color: #4b5563; }

.scc-mp-pay { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mp); color: #fff; }
.scc-mp-pay small { display: block; opacity: .9; font-size: 12px; }
.scc-mp-number { display: block; font-size: 22px; font-weight: 800; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.scc-mp-copy { flex: none; padding: 8px 14px !important; border: 0 !important; border-radius: 999px !important; background: #fff !important; color: var(--mp) !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.2 !important; cursor: pointer; box-shadow: none !important; }
.scc-mp-copy.is-done { background: #dcfce7 !important; color: #15803d !important; }

.scc-mp-amount { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; padding: 10px 14px; border: 1px dashed color-mix(in srgb, var(--mp) 45%, #fff); border-radius: 10px; background: #fff; }
.scc-mp-amount span { color: #6b7280; }
.scc-mp-amount b { color: var(--mp); font-size: 18px; }

/* !important: the checkout's payment-list rules (li padding, li::before) also reach these steps. */
.scc-mp .scc-mp-steps { margin: 0 0 12px !important; padding: 0 !important; list-style: none !important; counter-reset: mp; }
.scc-mp .scc-mp-steps li, #payment ul.payment_methods .scc-mp .scc-mp-steps li { position: relative !important; display: block !important; margin: 0 0 8px !important; padding: 0 0 0 32px !important; border: 0 !important; background: none !important; line-height: 1.55 !important; counter-increment: mp; }
.scc-mp .scc-mp-steps li::before, #payment ul.payment_methods .scc-mp .scc-mp-steps li::before { content: counter(mp) !important; display: block !important; position: absolute !important; left: 0 !important; top: 0 !important; width: 22px !important; height: 22px !important; border-radius: 50%; background: color-mix(in srgb, var(--mp) 14%, #fff); color: var(--mp); font-size: 12px; font-weight: 700; line-height: 22px !important; text-align: center; }
.scc-mp .scc-mp-steps li::after, #payment ul.payment_methods .scc-mp .scc-mp-steps li::after { display: none !important; }

.scc-mp .form-row { margin: 0 0 10px !important; padding: 0 !important; width: 100% !important; float: none !important; }
.scc-mp .form-row label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 13px; }
.scc-mp .form-row input { width: 100% !important; min-height: 44px; padding: 10px 12px !important; border: 1px solid #d1d5db !important; border-radius: 10px !important; background: #fff !important; font-size: 15px !important; box-shadow: none !important; }
.scc-mp .form-row input:focus { border-color: var(--mp) !important; outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mp) 18%, transparent) !important; }
.scc-mp-trx-input { text-transform: uppercase; letter-spacing: 1px; }
.scc-mp-opt { color: #9ca3af; font-weight: 400; }

/* Screenshot upload */
.scc-mp-upload .scc-mp-drop { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 96px; margin: 0 !important; padding: 16px; border: 2px dashed color-mix(in srgb, var(--mp) 40%, #d1d5db); border-radius: 12px; background: #fff; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.scc-mp-upload .scc-mp-drop:hover { border-color: var(--mp); background: color-mix(in srgb, var(--mp) 4%, #fff); }
.scc-mp-upload .scc-mp-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.scc-mp-drop-txt b { display: block; color: var(--mp); font-size: 14px; }
.scc-mp-drop-txt b::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 6px; background: var(--mp); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.scc-mp-drop-txt small { display: block; color: #9ca3af; font-size: 12px; font-weight: 400; }
.scc-mp-drop img { display: none; max-width: 100%; max-height: 180px; border-radius: 8px; }
.scc-mp-upload.has-file .scc-mp-drop { border-style: solid; border-color: #16a34a; }
.scc-mp-upload.has-file .scc-mp-drop img { display: block; }
.scc-mp-upload.has-file .scc-mp-drop-txt b::before { display: none; }
.scc-mp-upload.has-file .scc-mp-drop-txt small { display: none; }
.scc-mp-upload.is-busy .scc-mp-drop { opacity: .6; pointer-events: none; }
.scc-mp-up-msg { display: block; margin-top: 6px; color: #15803d; font-size: 13px; font-weight: 600; }
.scc-mp-up-msg.is-error { color: #dc2626; }

/* Status card: thank-you page, My Account → order. */
.scc-mp-status { margin: 0 0 20px; padding: 18px; border: 1px solid #e5e7eb; border-left: 5px solid #f59e0b; border-radius: 14px; background: #fffbeb; color: #1f2937; }
.scc-mp-status.is-ok { border-left-color: #16a34a; background: #f0fdf4; }
.scc-mp-status.is-bad { border-left-color: #dc2626; background: #fef2f2; }
.scc-mp-status > b { display: block; margin-bottom: 4px; font-size: 17px; }
.scc-mp-status > p { margin: 0 0 12px; color: #4b5563; }
.scc-mp-status ul { margin: 0; padding: 0; list-style: none; }
.scc-mp-status li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(0, 0, 0, .06); }
.scc-mp-status li span { color: #6b7280; }
.scc-mp-btn { display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 10px; background: #16a34a; color: #fff !important; font-weight: 700; text-decoration: none !important; }

/* Files of an approved order (thank-you page, My Account → order) */
.scc-mp-files { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.scc-mp-files-h { display: block; margin: 0 0 10px; font-size: 16px; }
.scc-mp-file { margin: 0 0 10px; padding: 14px 16px; border: 1px solid #d9f0e0; border-radius: 12px; background: #fff; }
.scc-mp-file-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.scc-mp-file-top b { display: block; color: #111827; font-size: 15px; line-height: 1.4; }
.scc-mp-file-top small { display: block; color: #6b7280; font-size: 13px; }
.scc-mp-dl { flex: none; display: inline-block; padding: 10px 18px; border-radius: 10px; background: #16a34a; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.scc-mp-dl:hover { background: #15803d; }
.scc-mp-key { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.scc-mp-key small { width: 100%; color: #6b7280; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
.scc-mp-key code { flex: 1; min-width: 0; padding: 9px 12px; border: 1px dashed #b7dfc4; border-radius: 8px; background: #f6fdf8; color: #111827; font-size: 14px; font-weight: 700; letter-spacing: .5px; word-break: break-all; }
.scc-mp-key .scc-mp-keycopy { background: #16a34a !important; color: #fff !important; }
.scc-mp-mailed { margin: 6px 0 0; color: #15803d; font-size: 13px; }
.scc-mp-status .scc-mp-live { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: #92400e; font-size: 13px; }
.scc-mp-live span { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; animation: scc-mp-pulse 1.4s ease-in-out infinite; }
@keyframes scc-mp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

@media (max-width: 480px) {
	.scc-mp-dl { width: 100%; text-align: center; }
	.scc-mp { padding: 12px; }
	.scc-mp-number { font-size: 19px; }
}
