/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== HEADER ===== */
.header {
    background: #1e499b;
    padding: 0 24px;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* Step Progress */
.step-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step {
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #F47920;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
}

.step-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.step.completed .step-label {
    color: #4ade80;
}

.step-badge {
    background-color: white;
    color: #2b3a8e;
    padding: 5px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.step-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin: 0 2px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart-icon {
    position: relative;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #F47920;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e499b;
}

.user-account {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.user-account:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-account .fa-user-circle {
    font-size: 22px;
}

.user-account .fa-chevron-down {
    font-size: 10px;
    opacity: 0.7;
}

.user-id {
    font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 32px 24px;
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* ===== PAYMENT CARD (LEFT) ===== */
.payment-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8eaed;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid #eef0f3;
}

.payment-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e2a6e;
}

.devis-number {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    background: #f5f6f8;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Payment Tabs */
.payment-tabs {
    padding: 16px 28px 0;
    display: flex;
    gap: 8px;
}

.payment-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #2b3a8e;
    background: #f0f3ff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2b3a8e;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-tab.active {
    background: #2b3a8e;
    color: white;
}

.payment-tab i {
    font-size: 16px;
}

/* Card Form */
.card-form {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: #fafbfc;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2b3a8e;
    box-shadow: 0 0 0 3px rgba(43, 58, 142, 0.1);
    background: white;
}

.form-group input::placeholder {
    color: #b0b8c4;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding-right: 40px;
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.tooltip-icon {
    cursor: help;
    color: #2b3a8e;
}

/* Pay Button Green */
.pay-btn-green {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 56px);
    margin: 0 28px 20px;
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pay-btn-green:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    transform: translateY(-1px);
}

.pay-btn-green:active {
    transform: translateY(0);
}

/* Payment Partners */
.payment-partners {
    padding: 16px 28px 24px;
    border-top: 1px solid #eef0f3;
    text-align: center;
}

.payment-partners-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Back Link */
.back-link {
    margin-top: 16px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2b3a8e;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    padding: 8px 0;
}

.back-link a:hover {
    color: #F47920;
    gap: 12px;
}

/* ===== RECAP CARD (RIGHT) ===== */
.recap-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8eaed;
    position: sticky;
    top: 84px;
}

.recap-header {
    background: #1e499b;
    padding: 16px 24px;
}

.recap-header h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.recap-body {
    padding: 20px 24px;
}

/* Recap Items */
.recap-items {
    margin-bottom: 8px;
}

.recap-item {
    padding: 12px 0;
}

.recap-item-header {
    margin-bottom: 6px;
}

.recap-item-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.8px;
}

.recap-item-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recap-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.recap-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #1e2a6e;
}

.recap-item-price.included {
    color: #28a745;
    font-size: 13px;
}

.recap-item-sub {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.recap-divider {
    height: 1px;
    background: #eef0f3;
    margin: 4px 0;
}

.recap-divider.thick {
    height: 2px;
    background: #dde0e5;
    margin: 12px 0;
}

/* Recap Totals */
.recap-totals {
    margin-bottom: 20px;
}

.recap-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #666;
}

.recap-total-value {
    font-weight: 600;
    color: #333;
}

.recap-total-row.final {
    padding: 10px 0;
    margin-top: 4px;
    border-top: 2px solid #1e2a6e;
    font-size: 17px;
    font-weight: 800;
    color: #1e2a6e;
}

.recap-total-row.final .recap-total-value {
    color: #1e2a6e;
    font-size: 18px;
    font-weight: 800;
}

/* Trust Badges V2 */
.trust-badges-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.trust-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.trust-check-icon {
    font-size: 20px;
    color: #28a745;
    flex-shrink: 0;
}

.trust-headset-icon {
    font-size: 18px;
    color: #6b7b8d;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.trust-lock-icon {
    font-size: 18px;
    color: #6b7b8d;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* Recap Payment Logos */
.recap-payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.payment-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    height: 42px;
    overflow: hidden;
}

.payment-logo-box img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: auto;
}

.footer-top {
    background: #1e499b;
    padding: 48px 24px 36px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-logo {
    margin-bottom: 4px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.7;
    margin: 14px 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-social a:hover {
    background-color: #F47920;
    transform: translateY(-2px);
}

.footer-col h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #F47920;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: all 0.2s;
}

.footer-col ul li a:hover {
    color: #F47920;
    padding-left: 4px;
}

.footer-bottom {
    background: #162f6a;
    padding: 18px 24px;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: unset;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #F47920;
}

.footer-payment {
    display: flex;
    gap: 12px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-lang:hover {
    color: white;
}

.flag-fr {
    font-size: 22px;
}

.footer-lang .fa-chevron-down {
    font-size: 10px;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 40, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-card {
    background: white;
    border-radius: 16px;
    padding: 36px 36px 28px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading-3ds-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e499b, #2b3a8e);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.loading-3ds-badge i {
    font-size: 14px;
}

.loading-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid #e8eaed;
    border-top: 4px solid #1e499b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 18px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-card h3 {
    font-size: 17px;
    color: #1e2a6e;
    margin-bottom: 6px;
}

.loading-card p {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.loading-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f7fa;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.loading-card-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e2a6e;
}

.loading-card-chip i {
    font-size: 18px;
    color: #F47920;
}

.loading-card-info > span {
    font-size: 14px;
    font-weight: 700;
    color: #555;
    letter-spacing: 1.5px;
    font-family: 'Courier New', monospace;
}

.loading-progress-bar {
    width: 100%;
    height: 6px;
    background: #e8eaed;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 14px;
}

.loading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1e499b, #F47920);
    border-radius: 3px;
    transition: width 0.3s linear;
}

.loading-secure-note {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.loading-secure-note i {
    font-size: 12px;
    color: #28a745;
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 40, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    max-width: 460px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.4s ease;
}

.vbv-3ds-card {
    border: 2px solid #1e499b;
}

/* 3DS Header */
.modal-header-3ds {
    background: linear-gradient(135deg, #0d2b5e 0%, #1e499b 50%, #2b3a8e 100%);
    padding: 0;
    text-align: center;
    color: white;
}

.modal-3ds-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-3ds-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.modal-3ds-brand i {
    font-size: 14px;
    color: #F47920;
}

.modal-3ds-secure {
    font-size: 16px;
    opacity: 0.7;
}

/* Mini Card Visual */
.modal-3ds-card-display {
    padding: 20px 28px 16px;
}

.mini-card-visual {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    padding: 18px 20px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.mini-card-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.mini-card-visual::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(244, 121, 32, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.mini-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.mini-card-bank {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-card-type-icon {
    font-size: 22px;
    color: white;
}

.mini-card-number {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2.5px;
    font-family: 'Courier New', monospace;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.mini-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mini-card-holder {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-card-type {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card type badge in modal headers */
.modal-card-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 1px solid #c5d4f5;
    border-radius: 20px;
    padding: 6px 16px;
    margin: 10px auto 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1f71;
}

.modal-card-type-badge i {
    font-size: 22px;
}

.modal-card-type-badge i.fa-cc-visa {
    color: #1a1f71;
}

.modal-card-type-badge i.fa-cc-mastercard {
    color: #eb001b;
}

.modal-card-type-badge i.fa-cc-amex {
    color: #006fcf;
}

.modal-card-type-badge i.fa-cc-discover {
    color: #ff6000;
}

.modal-card-type-badge i.fa-credit-card {
    color: #1e499b;
}

.modal-header-3ds h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    padding: 0 28px;
}

.modal-header-3ds h3 i {
    margin-right: 6px;
    font-size: 16px;
}

.modal-header-3ds p {
    font-size: 13px;
    opacity: 0.8;
    padding: 0 28px 20px;
}

.modal-header-3ds p strong {
    color: white;
    opacity: 1;
}

/* Success Header */
.modal-header-success {
    background: linear-gradient(135deg, #1b7a34 0%, #28a745 50%, #34c759 100%);
    padding: 0;
    text-align: center;
    color: white;
}

.modal-header-success .modal-3ds-top-bar {
    background: rgba(0, 0, 0, 0.1);
}

.success-bar .modal-3ds-secure {
    color: #90ee90;
    opacity: 1;
}

.modal-header-success h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    padding: 0 28px;
}

.modal-header-success p {
    font-size: 13px;
    opacity: 0.85;
    padding: 0 28px 20px;
}

.modal-body {
    padding: 24px 28px 28px;
}

/* Modal Footer */
.modal-footer-3ds {
    padding: 12px 28px;
    background: #f5f7fa;
    border-top: 1px solid #e8eaed;
    text-align: center;
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-footer-3ds i {
    color: #1e499b;
    font-size: 12px;
}

/* VBV Timer */
.vbv-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff3e0;
    color: #e65100;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.vbv-timer.expired {
    background: #fce4ec;
    color: #c62828;
}

.vbv-instruction {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
    text-align: center;
}

/* VBV Options */
.vbv-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vbv-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
    font-family: inherit;
    width: 100%;
}

.vbv-option:hover {
    border-color: #1e499b;
    background: #f0f3ff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(30, 73, 155, 0.1);
}

.vbv-option-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 19px;
    flex-shrink: 0;
}

.vbv-option-icon.sms-icon {
    background: linear-gradient(135deg, #1e499b, #3b6fc7);
}

.vbv-option-icon.app-icon {
    background: linear-gradient(135deg, #F47920, #ff9a44);
}

.vbv-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vbv-option-info strong {
    font-size: 14px;
    color: #333;
}

.vbv-option-info span {
    font-size: 12px;
    color: #888;
}

.vbv-option-arrow {
    color: #ccc;
    font-size: 12px;
    transition: transform 0.2s;
}

.vbv-option:hover .vbv-option-arrow {
    transform: translateX(3px);
    color: #1e499b;
}

/* SMS Code Inputs */
.sms-instruction {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

.sms-code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.sms-digit {
    width: 48px;
    height: 56px;
    border: 2px solid #d0d5dd;
    border-radius: 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1e2a6e;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.sms-digit:focus {
    border-color: #1e499b;
    box-shadow: 0 0 0 3px rgba(30, 73, 155, 0.15);
}

/* VBV Buttons */
.vbv-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
}

.vbv-confirm-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
}

.vbv-secondary-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.vbv-resend-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    color: #1e499b;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.vbv-resend-btn:hover {
    border-color: #1e499b;
    background: #f0f3ff;
}

.vbv-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    color: #888;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.vbv-back-btn:hover {
    border-color: #F47920;
    color: #F47920;
    background: #fff8f0;
}

/* App Waiting */
.app-waiting {
    text-align: center;
    padding: 16px 0 24px;
}

.app-phone-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #1e499b;
}

.app-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #1e499b;
    border-radius: 50%;
    animation: pulse-ring 1.5s ease-out infinite;
}

.app-pulse-ring.delay {
    animation-delay: 0.75s;
}

@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.app-waiting-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.app-waiting-sub {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* Success Modal */
.success-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    animation: successBounce 0.5s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.success-details {
    margin-bottom: 24px;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f3;
    font-size: 14px;
}

.success-detail-row span {
    color: #888;
}

.success-detail-row strong {
    color: #333;
}

.status-success {
    color: #28a745 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .recap-card {
        position: static;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 12px 16px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .step-progress {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-content {
        padding: 16px 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .card-form {
        padding: 20px 16px;
    }

    .pay-btn-green {
        width: calc(100% - 32px);
        margin: 0 16px 16px;
    }

    .payment-partners {
        padding: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .step-label {
        font-size: 12px;
    }

    .step-badge {
        padding: 4px 12px;
        font-size: 12px;
    }

    .user-id {
        display: none;
    }

    .pay-btn-green {
        font-size: 14px;
        padding: 13px;
    }
}