/* Fellowship & Diplomate Awards Custom Styles */

.fa-container {
    position: relative;
    background-color: #cbedec;
    padding: 64px 0;
    margin-top: 0;
    overflow: hidden;
}

.fa-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg_overlay.png');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: 0;
}

.fa-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.fa-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
    color: #374151;
    /* Darkened for better contrast */
    font-family: 'Outfit', sans-serif;
    /* Use website font-family */
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
}

.nav-btn-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    margin-top: 24px;
}

.nav-btn-container.scroll-enabled {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 12px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
}



.fa-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-bottom: 30px;
}

.fa-ibi-logo-left {
    height: 90px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain;
    display: block;
}

.main-tabs-container {
    display: flex;
    gap: 4px;
    background-color: #f1f3f5;
    padding: 5px;
    border-radius: 100px;
    border: 1px solid #e9ecef;
}

.main-tab {
    background-color: transparent;
    color: #495057;
    border: none;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-tab:hover {
    color: #212529;
}

.active-main {
    background-color: #0F2239 !important;
    color: #ffffff !important;
}

.active-main:hover {
    color: #ffffff !important;
    opacity: 0.9;
}

.nav-scroll-btn {
    display: none;
    /* Hidden by default on desktop */
    position: relative;
    width: 36px;
    height: 36px;
    background: #000000;
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.scroll-enabled .nav-scroll-btn {
    display: flex;
    /* Shown only when scroll is enabled */
}

.nav-scroll-btn:hover {
    background-color: #333333;
    transform: scale(1.05);
}

.nav-scroll-btn:active {
    transform: scale(0.9);
}

.nav-btn-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.scroll-enabled .nav-btn-wrapper {
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5px;
    gap: 12px;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: transparent;
    box-shadow: none;
}

.nav-btn-wrapper::-webkit-scrollbar {
    display: none;
}



.nav-btn {
    background-color: transparent;
    color: #212529;
    border: 1px solid #dee2e6;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 100px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width: fit-content;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #f0fdfa !important;
    color: #006666 !important;
    border-color: #006666 !important;
}

.active-nav {
    background-color: #006666 !important;
    color: #ffffff !important;
    border-color: #006666 !important;
}

.active-nav:hover {
    background-color: #006666 !important;
    color: #ffffff !important;
    opacity: 0.9;
}

/* Tab headings and logos */
.fa-tab-heading {
    font-size: 30px !important;
    font-weight: 600 !important;
    margin-top: 64px !important;
    margin-bottom: 8px !important;
    text-align: center;
    color: #1e3a5f;
    /* Adjusted navy */
    width: 100%;
    font-family: 'Outfit', sans-serif !important;
}

.fa-tab-heading {
    font-size: 30px !important;
    font-weight: 600 !important;
    margin-top: 64px !important;
    margin-bottom: 8px !important;
    text-align: center;
    color: #0F2239;
    width: 100%;
}

.fa-tab-subheading {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: #4b5563;
    margin-bottom: 40px;
    width: 100%;
}


.fa-ibi-logo {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
    margin: 0 auto !important;
    display: block;
}

@media (min-width: 640px) {
    .fa-ibi-logo {
        height: 50px !important;
    }
}

@media (min-width: 768px) {
    .fa-ibi-logo {
        height: 60px !important;
    }
}

/* Upload Document Form Styles */
.fa-form-wrapper {
    max-width: 896px;
    margin: 48px auto 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 32px;
}

.fa-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fa-form-group {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: center;
}

.fa-form-group-top {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}

.fa-label {
    font-weight: 500;
    color: #374151;
    text-align: left;
}

.fa-input-text {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    outline: none;
    background-color: #ffffff;
}

.fa-file-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    height: 56px;
    padding: 0 20px;
}

.fa-file-hint {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

/* Payment Box */
.fa-payment-box {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    margin: 24px 0;
    text-align: center;
}

.fa-payment-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0F2239;
}

.fa-payment-details {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

.fa-payment-qr {
    display: flex;
    justify-content: center;
}

.fa-qr-img {
    width: 200px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 10px;
}

.fa-submit-btn {
    background-color: #000000;
    color: #ffffff;
    padding: 14px 48px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.fa-submit-btn:hover {
    background-color: #1f2937;
}

.fa-banner {
    background-size: cover;
    background-position: center;
    margin-top: -130px;
    margin-bottom: 0;
}

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

.fa-text-center {
    text-align: center;
}

.fa-mt-40 {
    margin-top: 40px;
}

.fa-mb-48 {
    margin-bottom: 48px;
}

.hidden {
    display: none !important;
}

/* Custom File Input */
.custom-file-input {
    background: transparent;
    border: none;
    width: 100%;
    outline: none;
    cursor: pointer;
    display: block;
    padding: 0;
    margin: 0;
}

.custom-file-input::-webkit-file-upload-button {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 20px;
    margin-right: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    margin-top: 0;
}

.custom-file-input::file-selector-button {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 20px;
    margin-right: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    margin-top: 0;
}

.custom-file-input::-webkit-file-upload-button:hover,
.custom-file-input::file-selector-button:hover {
    background-color: #e5e7eb;
}

/* Utility Classes for Typography */
.fa-text-accent {
    color: #ff4d05 !important;
}

.fa-text-muted {
    color: #374151 !important;
    font-weight: 400 !important;
    margin-bottom: 24px;
}

.fa-underlined {
    padding-bottom: 2px;
}

.fa-underlined-black {
    padding-bottom: 2px;
}

.fa-section-title {
    color: #1e3a5f;
    /* Slightly lighter professional navy for better contrast */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 40px;
    font-family: 'Outfit', sans-serif;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fa-list-decimal {
    list-style-type: decimal;
    margin-left: 32px;
    margin-bottom: 24px;
    font-weight: 400;
    color: #2d3436;
}

.fa-list-disc {
    list-style-type: disc;
    margin-left: 32px;
    margin-bottom: 24px;
    font-weight: 400;
    color: #2d3436;
}

.fa-list-decimal li,
.fa-list-disc li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.fa-bold-black {
    font-weight: 700;
    color: #1e3a5f;
}

/* Image Galleries & Grids */
.fa-image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 13px;
    margin-top: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.fa-gallery-img {
    width: calc(33.333% - 16px);
    max-width: 250px;
    height: auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.fa-ppt-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.fa-ppt-img {
    width: 180px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* Buttons */
.fa-download-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff !important;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 48px;
    transition: background-color 0.3s;
}

.fa-download-btn:hover {
    background-color: #1f2937;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {

    .nav-btn-container,
    .nav-btn-container.scroll-enabled {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        margin: 20px 15px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 8px;
        gap: 6px;
        max-width: none;
    }

    .nav-scroll-btn {
        display: flex;
        /* Always show on mobile */
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .nav-btn-wrapper,
    .scroll-enabled .nav-btn-wrapper {
        flex: 1;
        background-color: transparent !important;
        box-shadow: none !important;
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
        gap: 12px;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-radius: 0;
    }

    .nav-btn {
        flex-shrink: 0;
        min-width: auto;
        font-size: 13px;
        padding: 7px 12px;
        border-radius: 8px;
    }

    .fa-header-row {
        flex-direction: column;
        gap: 20px;
        padding-top: 32px;
    }

    .main-tabs-container {
        width: 100%;
        justify-content: center;
    }

    .main-tab {
        padding: 8px 16px;
        font-size: 14px;
        text-align: center;
    }

    .fa-tab-heading {
        font-size: 24px !important;
        margin: 32px auto !important;
    }




    /* Show 2 images per row on mobile as per user's preference */
    .fa-gallery-img {
        width: calc(50% - 10px);
        max-width: 100%;
    }

    /* Fixed PPT Template layout for mobile (1-2-2-2-2-1) */
    .fa-ppt-grid {
        gap: 12px;
    }

    .fa-ppt-img {
        width: calc(50% - 8px);
    }

    /* First and Last slides take full width to be centered alone */
    .fa-ppt-img:first-child,
    .fa-ppt-img:last-child {
        width: 100%;
        max-width: 250px;
    }

    /* Fix Upload Document Form for Mobile */
    .fa-form-wrapper {
        padding: 20px;
        margin-top: 24px;
    }

    .fa-form-group,
    .fa-form-group-top {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .fa-label {
        margin-bottom: 0px;
    }

    .fa-payment-box {
        padding: 20px;
    }

    .fa-qr-img {
        width: 150px;
    }
}

/* IBI Board Members Section */
.fa-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-bottom: 60px;
}

.fa-board-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(237, 242, 247, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.fa-board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #00a99d;
}

.fa-board-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s ease;
}

.fa-board-card:hover .fa-board-img {
    transform: scale(1.05);
}

.fa-board-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.fa-board-role {
    font-size: 10px;
    font-weight: 700;
    color: #ff4d05;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
}

.fa-board-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    text-align: left;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

/* Need Guidance / Contact Grid */
.fa-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* Tighter gap */
    max-width: 900px;
    /* Increased to fit 3 items */
    margin: 40px auto 80px;
}

.fa-contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    /* Reduced vertical padding */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 0.5px solid #edf2f7;
    min-height: 85px;
    /* Shorter card */
    font-size: 0;
}

.fa-contact-card .fa-board-img {
    width: 72px;
    height: 72px;
    margin-right: 12px;
}

.fa-contact-card .fa-board-role {
    font-size: 10px;
    margin-bottom: 0px;
    text-align: center;
    font-weight: 800;
}

.fa-contact-card .fa-board-name {
    font-size: 13px;
    margin-bottom: 0px;
    text-align: center;
    font-weight: 800;
    color: #0F2239;
}

.fa-contact-card .fa-board-info {
    text-align: center;
    /* Centered */
    line-height: 1.2;
    font-size: 16px;
    flex: 1;
}

.fa-contact-phone {
    font-size: 14px;
    font-weight: 800;
    color: #0F2239;
    margin-top: 0px;
    text-align: center;
    /* Centered */
}

/* Mobile Responsive Board */
@media (max-width: 1023px) {
    .fa-board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .fa-board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .fa-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .fa-board-card {
        padding: 12px;
        min-height: 80px;
        border-radius: 12px;
    }

    .fa-contact-card {
        padding: 12px 16px;
        min-height: 80px;
    }

    .fa-board-img {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    .fa-contact-card .fa-board-img {
        width: 65px;
        height: 65px;
        margin-right: 15px;
    }

    .fa-board-name {
        font-size: 13px;
        line-height: 1.2;
    }

    .fa-contact-card .fa-board-name {
        font-size: 14px;
        line-height: 1.2;
    }

    .fa-board-role {
        font-size: 8px;
        margin-bottom: 2px;
    }

    .fa-contact-card .fa-board-role {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .fa-contact-phone {
        font-size: 13px;
        margin-top: 3px;
    }

    .fa-board-info,
    .fa-contact-card .fa-board-info {
        font-size: 10px;
    }

    .fa-contact-card .fa-board-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fa-contact-card .fa-board-role,
    .fa-contact-card .fa-board-name,
    .fa-contact-card .fa-contact-phone {
        text-align: center;
        width: 100%;
    }
}

/* Utility Spacings */
.fa-mb-5 {
    margin-bottom: 5px;
}

.fa-mb-8 {
    margin-bottom: 8px;
}

.fa-mb-10 {
    margin-bottom: 10px;
}

.fa-mb-16 {
    margin-bottom: 16px;
}

.fa-mb-20 {
    margin-bottom: 20px;
}

.fa-mb-24 {
    margin-bottom: 24px;
}

.fa-mb-40 {
    margin-bottom: 40px;
}

.fa-mt-10 {
    margin-top: 10px;
}

.fa-mt-20 {
    margin-top: 20px;
}

.fa-mt-24 {
    margin-top: 24px;
}

.fa-ml-20 {
    margin-left: 20px;
}

.fa-mr-24 {
    margin-right: 24px;
}

.fa-h-30 {
    height: 30px;
}

/* Utility Text & Layout */
.fa-lh-2 {
    line-height: 2;
}

.fa-lh-22 {
    line-height: 2.2;
}

.fa-text-center {
    text-align: center;
}

.fa-normal {
    font-weight: normal;
}

.fa-bb-black {
    border-bottom: 1px solid black;
}

/* Premium Form System */
.premium-form-container {
    max-width: 950px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.form-header {
    background: #f8fafc;
    padding: 40px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.premium-fa-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.25rem !important;
    color: #1e3a5f !important;
    /* Professional navy */
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 !important;
}

.section-title i {
    color: #ff4d05;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.modern-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modern-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #1e293b;
}

.modern-input:focus {
    border-color: #0F2239;
    box-shadow: 0 0 0 4px rgba(15, 34, 57, 0.1);
    outline: none;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.upload-card {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.upload-card:hover {
    border-color: #ff4d05;
    background: #fff9f6;
}

.upload-card.full-width {
    grid-column: span 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.upload-card:hover .card-icon {
    background: #ff4d05;
    color: #ffffff;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
}

.modern-file-input {
    font-size: 0.8rem;
    color: #64748b;
    width: 100%;
}

.file-hint {
    font-size: 0.75rem;
    color: #94a3b8;
}

.payment-container-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.bank-details-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.bank-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0F2239;
    text-transform: uppercase;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.detail-label {
    color: #64748b;
    font-size: 0.85rem;
    width: 130px;
    flex-shrink: 0;
}

.detail-value {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
    word-break: break-word;
}

.detail-value.highlight {
    color: #ff4d05;
}

.detail-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.detail-row-group .detail-label {
    width: 110px;
}

.qr-code-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
}

.qr-wrapper {
    text-align: center;
}

.modern-qr-img {
    width: 140px;
    margin-bottom: 8px;
}

.qr-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.payment-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.submit-area {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.premium-submit-btn {
    background: #0F2239;
    color: #ffffff;
    padding: 16px 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.premium-submit-btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 34, 57, 0.2);
}

.premium-submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.premium-submit-btn:hover i {
    transform: translateX(5px) translateY(-5px);
}

.terms-text {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .premium-fa-form {
        padding: 20px;
    }

    .info-grid,
    .upload-grid,
    .payment-container-modern,
    .payment-inputs-grid {
        grid-template-columns: 1fr;
    }

    .upload-card.full-width {
        grid-column: span 1;
    }

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

    .premium-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Button Loader / Spinner */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: none;
}

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

.premium-submit-btn.loading .btn-loader {
    display: inline-block;
}

.premium-submit-btn.loading .btn-text,
.premium-submit-btn.loading i {
    display: none;
}

/* Status Modal */
.status-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.status-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.status-modal {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.status-modal-overlay.show .status-modal {
    transform: translateY(0);
}

.status-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.status-icon.success { color: #10b981; }
.status-icon.error { color: #ef4444; }

.status-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0F2239;
}

.status-message {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.status-btn {
    background: #0F2239;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}