/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 150%;
}

/* Prevent horizontal scroll */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0062a5 33%, white 33%, white 66%, #0062a5 66%);
}

/* Header styles */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: white;
    border-bottom: 3px solid #0062a5;
}

.coat-of-arms {
    margin-right: 20px;
}

.emblem-img {
    width: 100px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.header-text h1 {
    font-size: 24px;
    font-weight: bold;
    color: #0062a5;
    margin-bottom: 5px;
    text-align: center;
}

.header-text h2 {
    font-size: 18px;
    color: #0062a5;
    font-weight: normal;
    text-align: center;
}

/* Main content */
.main-content {
    padding: 40px 30px;
}

.main-title {
    font-size: 32px;
    color: #0062a5;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-description {
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.service-description strong {
    color: #0062a5;
    font-weight: bold;
}

/* Payment details */
.payment-details, .bank-details {
    margin-bottom: 30px;
}



/* Bank details specific styles */
.bank-details {
    overflow: visible;
    height: auto;
}

/* Transfer info container */
.transfer-info-container {
    margin: 25px 0 20px 0;
    padding: 0;
    overflow: visible;
    position: relative;
    transition: all 0.4s ease;
}

.transfer-info-container.blurred .transfer-content {
    filter: blur(5px);
    pointer-events: none;
}

.transfer-info-container.show .transfer-content {
    filter: none;
    pointer-events: auto;
}

/* Bank selector buttons */
.bank-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.bank-btn {
    flex: 1;
    max-width: 200px;
    padding: 15px 20px;
    border: 2px solid #000;
    border-radius: 8px;
    background: white;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bank-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bank-btn.active {
    background: #74ACDF;
    color: white;
    border-color: #fdc300;
    font-weight: bold;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(116, 172, 223, 0.4);
}





/* Bank selection hint */
.bank-selection-hint {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.bank-selection-hint.hidden {
    display: none;
}

/* Blur overlay for bank details */
.bank-details-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 10;
    transition: all 0.4s ease;
}

.bank-details-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #a5834b 0%, #c6a978 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(116, 172, 223, 0.3);
    font-weight: bold;
    font-size: 18px;
    max-width: 300px;
}

.overlay-message .icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.transfer-header {
    text-align: center;
    margin-bottom: 0;
    padding: 15px;
    background: linear-gradient(135deg, #a5834b 0%, #c6a978 100%);
    border-radius: 12px 12px 0 0;
    color: white;
}

.transfer-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: bold;
}

.transfer-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: normal;
}

/* Highlighted card for bank details */
.highlighted-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #a3c0d3 100%);
    border: 3px solid #0062a5;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(30, 74, 114, 0.15);
    position: relative;
    margin-bottom: 0;
    overflow: visible;
    height: auto;
}

.highlighted-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #a5834b 0%, #c6a978 100%);
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.highlighted-card .detail-row {
    padding: 15px 20px;
    border-bottom: 2px solid rgba(30, 74, 114, 0.1);
    background: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    border-radius: 8px;
    overflow: visible;
    height: auto;
    min-height: auto;
}

.highlighted-card .detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.highlighted-card .label {
    font-weight: bold;
    color: #0062a5;
    font-size: 15px;
}

.highlighted-card .value {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Specific styles for bank-details with highlighted-card */
.bank-details.highlighted-card {
    overflow: visible;
    height: auto;
}



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

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

.label {
    font-weight: normal;
    color: #555;
    flex: 1;
}

.value {
    font-weight: bold;
    color: #333;
    text-align: right;
    flex: 1;
}

.value-with-copy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
    overflow: visible;
    height: auto;
}

.copy-icon-btn {
    background: transparent;
    border: 2px solid #0062a5;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0062a5;
}

.copy-icon-btn.modern-copy {
    background: rgba(116, 172, 223, 0.1);
    border: 2px solid #0062a5;
    border-radius: 8px;
}

.copy-icon-btn:hover {
    background: #0062a5;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 172, 223, 0.3);
}

.copy-icon-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(116, 172, 223, 0.2);
}

.copy-icon-btn.copied {
    background: #28a745;
    border-color: #28a745;
    color: white;
    animation: copySuccess 0.3s ease;
}

.copy-icon-btn svg {
    transition: all 0.3s ease;
}

@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}





.security-badge-large {
    width: 350px;
    max-width: 85vw;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(4px 4px 15px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    animation: securityPulse 3s ease-in-out infinite;
}

.security-badge-large:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}



@keyframes securityPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Bottom section */
.bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 35px 0 20px 0;
    padding: 0;
}

.security-and-seal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 0;
}

.security-item {
    display: flex;
    justify-content: center;
    align-items: center;
}



.alias-copy {
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

.alias-text {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.copy-btn {
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #d0d0d0;
}

.send-btn {
    background: linear-gradient(135deg, #0062a5 0%, #104466 100%);
    border: 2px solid #0062a5;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 6px rgba(30, 74, 114, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.send-btn:hover {
    background: linear-gradient(135deg, #0062a5 0%, #079cff 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(30, 74, 114, 0.4);
}

.send-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(30, 74, 114, 0.3);
}

.send-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.send-btn:hover::before {
    left: 100%;
}

/* Manager button styles */
.manager-btn-link {
    text-decoration: none;
    display: block;
    width: 100%;
}

.manager-btn {
    width: 100% !important;
    padding: 20px 30px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(30, 74, 114, 0.4) !important;
    transition: all 0.3s ease !important;
}

.manager-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(30, 74, 114, 0.5) !important;
}

/* Manager section styles */
.manager-section {
    margin: 15px 0;
    text-align: center;
    padding: 10px;
}

.manager-text {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #0062a5;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manager-subtitle {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.official-seal {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-stamp {
    width: 500px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Action button */
.advisor-btn {
    width: 100%;
    background-color: #a5834b;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s;
}

.advisor-btn:hover {
    background-color: #2a5a82;
}

/* Responsive design */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container {
        margin: 0;
        box-shadow: none;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 0;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .coat-of-arms {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .emblem-img {
        width: 80px;
        max-height: 100px;
    }
    
    .main-content {
        padding: 20px 10px;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box;
        overflow-x: hidden !important;
    }
    
    .main-title {
        font-size: 20px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 10px;
    }

    .service-description {
        margin-bottom: 15px;
    }
    
    .qr-section {
        flex-direction: column;
        text-align: center;
    }

    .bottom-section {
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 40px 0 15px 0;
    }

    .security-and-seal-row {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        position: relative;
        padding: 0;
    }

    .security-item {
        display: flex;
        justify-content: flex-start;
        margin: 0;
    }

    .official-seal {
        position: absolute !important;
        right: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .alias-copy {
        margin: 20px 0;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .value {
        text-align: left;
        margin-top: 5px;
    }

    .value-with-copy {
        justify-content: space-between;
        width: 100%;
        margin-top: 5px;
    }

    .copy-icon-btn {
        min-width: 32px;
        height: 32px;
        padding: 6px;
    }

    .copy-icon-btn svg {
        width: 14px;
        height: 14px;
    }

    .transfer-header h3 {
        font-size: 18px;
    }

    .transfer-subtitle {
        font-size: 12px;
    }

    .highlighted-card {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        height: auto;
    }

    .bank-details.highlighted-card {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .highlighted-card .detail-row {
        padding: 12px 15px;
        margin: 6px 0;
        overflow: visible;
        height: auto;
    }

    .highlighted-card .label {
        font-size: 14px;
    }

    .highlighted-card .value {
        font-size: 15px;
    }





    .security-badge-large {
        width: 250px !important;
        max-width: 80vw !important;
        margin-left: 10px !important;
    }

    .bank-stamp {
        width: 100px;
        max-height: 100px;
        margin-right: 8px !important;
    }

    .send-btn {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 6px;
    }



    .manager-btn {
        padding: 15px 20px !important;
        font-size: 16px !important;
    }

    .manager-section {
        margin: 2px 0;
        padding: 0;
    }

    .transfer-info-container {
        margin: 15px 0 12px 0 !important;
    }

    .bank-selector {
        margin-bottom: 15px;
        gap: 10px;
    }

    .bank-btn {
        padding: 12px 15px;
        font-size: 14px;
        max-width: none;
    }

    .overlay-message {
        font-size: 16px;
        padding: 20px;
        max-width: 250px;
    }

    .overlay-message .icon {
        font-size: 20px;
    }

    .manager-text {
        font-size: 16px;
        margin-bottom: 8px;
        margin-top: 17px;
    }

    .manager-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
        max-width: 300px;
    }

    /* Force all elements to stay within viewport */
    * {
        max-width: 100vw !important;
    }

    .detail-row, .value-with-copy, .transfer-info-container, .highlighted-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .main-title {
        font-size: 18px !important;
        padding: 0 5px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .main-title {
        font-size: 16px !important;
        letter-spacing: -0.5px;
    }
}


/* ===== PULSING INSTRUCTION BUTTON ===== */
.important-instruction-btn {
    width: 100%;
    padding: 18px 25px;
    margin: 20px 0;
    font-size: 18px;
    font-weight: bold;
    color: #78350f;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 2px solid #d97706;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulse-btn 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.important-instruction-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
    animation: none;
}

@keyframes pulse-btn {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 25px rgba(245, 158, 11, 0.7);
    }
}

/* ===== PREMIUM MODAL DESIGN ===== */
.zmodal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.zmodal.active {
    opacity: 1;
    visibility: visible;
}

.zmodal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 40, 80, 0.92) 0%, rgba(0, 20, 50, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zmodal-dialog {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    transform: translateY(40px) scale(0.92);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.zmodal.active .zmodal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.zmodal.closing {
    opacity: 0;
}

.zmodal.closing .zmodal-dialog {
    transform: translateY(-30px) scale(0.95);
}

.zmodal-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 30px 100px rgba(0, 0, 0, 0.5),
        0 10px 40px rgba(0, 98, 165, 0.3);
}

/* Header */
.zmodal-header {
    background: linear-gradient(135deg, #0062a5 0%, #003d66 100%);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.zmodal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.zmodal-header-content {
    position: relative;
    text-align: center;
}

.zmodal-badge {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 12px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.zmodal-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.zmodal-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin: 0;
}

.zmodal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zmodal-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.zmodal-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.zmodal-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.zmodal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Body */
.zmodal-body {
    padding: 28px 32px;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.zmodal-body::-webkit-scrollbar {
    width: 6px;
}

.zmodal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.zmodal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Alert */
.zmodal-alert {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #fef3cd 0%, #fef9e7 100%);
    border: 1px solid #f5d67a;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
}

.zmodal-alert-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.zmodal-alert-text {
    font-size: 13px;
    line-height: 1.7;
    color: #8b6914;
}

.zmodal-alert-text strong {
    color: #78350f;
}

/* Steps */
.zmodal-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.zmodal-step {
    display: flex;
    gap: 18px;
}

.zmodal-step-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0062a5 0%, #0080d4 100%);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 98, 165, 0.35);
}

.zmodal-step-text {
    flex: 1;
    padding-top: 6px;
}

.zmodal-step-text h4 {
    color: #1a365d;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
}

.zmodal-step-text p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 6px;
}

.zmodal-highlight {
    color: #0062a5 !important;
    font-weight: 600;
}

.zmodal-banks {
    color: #718096 !important;
    font-size: 12px !important;
}

/* Code block */
.zmodal-code-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    text-align: center;
}

.zmodal-code-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 10px;
}

.zmodal-code {
    display: inline-block;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    font-size: 22px;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 10px;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.zmodal-code-warn {
    display: block;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Bottom info */
.zmodal-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zmodal-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    border-radius: 12px;
    padding: 14px 16px;
}

.zmodal-info-alt {
    background: #eff6ff;
}

.zmodal-info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.zmodal-info-box p {
    color: #166534;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.zmodal-info-alt p {
    color: #1e40af;
}

/* Footer */
.zmodal-footer {
    padding: 0 32px 28px;
}

.zmodal-btn {
    width: 100%;
    background: linear-gradient(135deg, #0062a5 0%, #0080d4 100%);
    color: #fff;
    border: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(0, 98, 165, 0.4);
    position: relative;
    overflow: hidden;
}

.zmodal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.zmodal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 98, 165, 0.5);
}

.zmodal-btn:hover::before {
    left: 100%;
}

.zmodal-btn:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 640px) {
    .zmodal {
        padding: 12px;
    }
    
    .zmodal-card {
        border-radius: 20px;
    }
    
    .zmodal-header {
        padding: 24px 20px;
    }
    
    .zmodal-header h2 {
        font-size: 20px;
    }
    
    .zmodal-body {
        padding: 20px;
    }
    
    .zmodal-step {
        gap: 14px;
    }
    
    .zmodal-step-badge {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .zmodal-step-text h4 {
        font-size: 15px;
    }
    
    .zmodal-step-text p {
        font-size: 13px;
    }
    
    .zmodal-code {
        font-size: 18px;
        padding: 10px 28px;
    }
    
    .zmodal-footer {
        padding: 0 20px 20px;
    }
    
    .zmodal-btn {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .important-instruction-btn {
        font-size: 15px;
        padding: 14px 18px;
    }
}


/* ===== BLUR & LOCK SYSTEM ===== */
.iban-value.blurred {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.4s ease;
}

.iban-value.revealed {
    filter: none;
}

.icon-copy.hidden,
.icon-eye.hidden {
    display: none;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
    z-index: 11000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 18px;
}

/* Shake animation for instruction button */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}

.important-instruction-btn.shake {
    animation: shake 0.6s ease-in-out;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.5), 0 6px 25px rgba(245, 158, 11, 0.6);
}

/* Eye button style - keep icon visible on hover */
.iban-btn .icon-eye {
    color: #0062a5;
}

.iban-btn:hover .icon-eye:not(.hidden) {
    display: block !important;
    color: white;
}

.iban-btn:hover .icon-copy:not(.hidden) {
    display: block !important;
    color: white;
}

/* Instruction button inside bank details card */
.instruction-btn-inline {
    width: 100%;
    padding: 14px 20px;
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #78350f;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 2px solid #d97706;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
    animation: pulse-btn 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.instruction-btn-inline:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.5);
    animation: none;
}

.instruction-btn-inline.shake {
    animation: shake 0.6s ease-in-out;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.5), 0 5px 20px rgba(245, 158, 11, 0.5);
}

@media (max-width: 768px) {
    .instruction-btn-inline {
        padding: 12px 16px;
        font-size: 14px;
        margin-top: 12px;
    }
}
