﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--gs-black);
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', sans-serif; /* Recommended clean font */
    background: var(--gs-dark);
}

#gsMainHeader {
    /* Solid Dark Matte or semi-transparent */
    background-color: #0a0a0a;
    /* OR use this for a slight glass effect: */
    /* background-color: rgba(10, 10, 10, 0.95); */
    /* backdrop-filter: blur(10px); */

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Ensure the container inside the header is properly aligned */
.gs-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* --- Payment Page Section --- */
.payment-page-wrapper {
    background-color: #ffffff;
    width: 100%;
}

.payment-card {
    background: #ffffff;
    border-radius: 24px;
    /* Deep soft shadow for a premium feel */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    padding: 50px;
    border: 1px solid #f1f5f9;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

/* Subtle brand-colored accent glow */
.payment-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, transparent 70%);
    z-index: 0;
}

/* --- Left Side: Bank Info --- */
.bank-info-section {
    flex: 1.2;
    min-width: 320px;
    z-index: 1;
}

.section-title {
    color: #1e293b;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 6px solid #16a34a; /* Brand Green Accent */
    padding-left: 20px;
    display: flex;
    align-items: center;
}

.info-grid {
    background: #f9fafb;
    padding: 35px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    border: 1px solid #f1f5f9;
}

.info-item label {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.info-item span {
    display: block;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
}

.highlight-text {
    color: #16a34a !important; /* Brand Green for Account Numbers */
    font-family: 'Inter', sans-serif;
    font-size: 21px !important;
    letter-spacing: 0.5px;
}

/* Container to hold both account boxes side-by-side */
.accounts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    align-items: stretch; /* Ensures both boxes are the same height */
}

.info-grid {
    background: #f9fafb;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

/* Hover effect for the grids */
.info-grid:hover {
    background: #ffffff;
    border-color: #16a34a33;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

/* Responsive: Stack them on mobile devices */
@media (max-width: 991px) {
    .accounts-container {
        grid-template-columns: 1fr;
    }
}

/* Specific inquiry section styling */
.payment-inquiry-meta {
    margin-top: 30px;
    padding-left: 5px;
}

.inquiry-msg {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.inquiry-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.inquiry-link {
    text-decoration: none;
    color: #1e293b; /* Your Dark Gray */
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.inquiry-link:hover {
    color: #16a34a; /* Brand Green */
}

.inquiry-sep {
    color: #cbd5e1;
    font-size: 12px;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .inquiry-sep {
        display: none;
    }

    .inquiry-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* --- Right Side: Actions --- */
.action-section {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1;
}

.qr-container {
    background: #ffffff;
    border: 2px solid #f3f4f6;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.qr-label {
    font-size: 10px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.qr-container img {
    width: 100%;
    border-radius: 12px;
}

.pay-button {
    background: black; 
    color: white !important;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

.pay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(51, 149, 255, 0.3);
}


.secure-tag {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    font-weight: 500;
    margin-top: 5px;
}

/* 1. Card Lift Effect */
.payment-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* 2. Bank Details Glow (Brand Green) */
.info-grid {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-grid:hover {
    background: #ffffff;
    border-color: #16a34a33; /* Soft Brand Green border */
    box-shadow: inset 0 0 20px rgba(22, 163, 74, 0.05);
}

/* 3. QR Code Border Highlight */
.qr-container {
    transition: border-color 0.3s ease;
}

.qr-container:hover {
    border-color: #16a34a;
}

/* 4. Payment Button: Black to Razorpay Blue */
.pay-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pay-button:hover {
    background: #22c55e !important;
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3) !important;
}

/* 5. Icon/Cards Opacity Effect */
.cards-display img {
    transition: all 0.3s ease;
}

.cards-display img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Responsive Layout --- */
@media (max-width: 991px) {
    .payment-card {
        padding: 35px;
        margin: 0 15px;
        gap: 35px;
    }

    .section-title {
        font-size: 22px;
    }
}

/* Professional Action Section Layout */
.action-section {
    flex: 0 0 300px;
    background: #fafbfc;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

/* QR Link and App Icons */
.qr-link {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.qr-link:hover {
    transform: scale(1.02);
}

.upi-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    opacity: 0.7;
}

.upi-icons img {
    height: 30px; /* Small subtle icons */
    width: auto;
}

/* Method Label Styling */
.method-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Online Pay Box Padding */
.online-pay-box {
    margin-top: 5px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 20px;
}

/* Secure Tag refinement */
.secure-tag {
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 768px) {
    /* 1. Main Card Wrapper - Stack vertically and center */
    .payment-card {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px 15px !important;
        width: 100% !important;
        margin: 0 auto !important;
        gap: 30px !important;
        align-items: center !important;
    }

    /* 2. Parent Sections (Left and Right) - Remove fixed widths and center */
    .bank-info-section,
    .action-section {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }

    /* 3. LEFT SIDE: Accounts & Info Grids */
    .accounts-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    .info-grid {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        padding: 20px !important;
        box-sizing: border-box; /* Ensures padding doesn't push it right */
    }

    .info-item {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 15px !important;
    }

    .info-item label {
        margin-right: 0 !important;
        margin-bottom: 4px;
    }

    .info-item span {
        word-break: break-all; /* Critical for long account numbers */
    }

    /* 4. LEFT SIDE: Inquiry / Support Links */
    .payment-inquiry-meta {
        padding-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 20px;
    }

    .inquiry-row {
        justify-content: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px;
    }

    .inquiry-sep {
        display: none !important; /* Hide dots when stacked */
    }

    /* 5. RIGHT SIDE: QR Code & Pay Box */
    .qr-container {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .qr-container::after {
        content: "Tap to pay with App";
        display: block;
        font-size: 11px;
        color: #16a34a;
        margin-top: 10px;
        font-weight: 700;
    }

    .online-pay-box {
        width: 100% !important;
        max-width: 300px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 auto !important;
    }

    .section-title {
        text-align: center !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }
}

/* 1. The Small Outer Container (Grey Enclosure) */
.credentials-minimal-wrapper {
    max-width: 1000px; /* Keeps the container small and centered */
    margin: 0 auto 40px; /* Centers on page and adds space before payment card */
    background: #f8fafc; /* Stylish soft grey background */
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* 2. Heading Style */
.reg-main-heading {
    font-size: 20px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. The Grid Layout */
.reg-mini-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 4. Individual ID Cards */
.reg-item {
    background: #ffffff; /* White cards for contrast against grey background */
    border: 1px solid #f1f5f9;
    padding: 20px 15px;
    border-radius: 12px;
    flex: 1;
    min-width: 260px; /* Ensures cards don't get too thin */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.reg-item:hover {
    transform: translateY(-3px);
    border-color: #22c55e; /* Brand green highlight on hover */
}

/* 5. Typography */
.reg-label {
    display: block;
    font-size: 11px;
    font-weight: 800; /* Bolded as requested */
    color: #475569; /* Slightly darker for better visibility */
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.reg-number {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    font-family: 'Courier New', Courier, monospace; /* Clean look for IDs */
}

.reg-logo {
    height: 40px; /* Adjust height to fit your design */
    width: auto; /* Keeps the logo aspect ratio perfect */
    margin-bottom: 12px; /* Space between logo and the label below */
    object-fit: contain; /* Ensures logo isn't stretched */
    display: block; /* Centers the logo if your parent is flex-center */
    margin-left: auto;
    margin-right: auto;
}

.reg-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers logo, label, and number together */
    text-align: center;
}

/* 6. Mobile Responsiveness */
@media (max-width: 768px) {
    .credentials-minimal-wrapper {
        margin: 0 15px 30px; /* Adds side margins on mobile */
        padding: 25px 15px;
    }

    .reg-mini-grid {
        flex-direction: column;
        gap: 15px;
    }

    .reg-item {
        min-width: 100%;
        padding: 15px;
    }

    .reg-main-heading {
        font-size: 18px;
    }
}

@media (max-width: 1024px) and (min-width: 600px) {
    /* 1. Target the common parent container */
    .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Forces children to the center */
        width: 100% !important;
    }

    /* 2. Make both boxes the same width so they line up perfectly */
    .credentials-minimal-wrapper, 
    .payment-card {
        width: 95% !important;   /* Matches their widths */
        max-width: 800px !important; 
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;  /* Removes any desktop floats */
    }
    
    /* 3. Reset the internal grid of the credentials box if it's squishing */
    .reg-mini-grid {
        justify-content: center !important;
    }
}

/* CENTER THE PAGE BLOCK (600px–1279px) */
@media (min-width: 600px) and (max-width: 1279px) {
    .container {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1024px) {
    #menuBtn.gs-elite-hamburger {
        padding-top: 30px !important; /* Pushes the 'icon' inside the button down */
        height: auto !important; /* Ensures the button expands to show the shift */
    }
}