﻿/* ----------------   UPDATED Styling   ---------------------*/
body {
    background: #f4f6f8;
    background-color: #f6f7f9;
    background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 26px 26px;
    font-family: Arial, sans-serif;
    color: #1f2f46;
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

/* ===== Calculator ===== */
.calc-page {
    max-width: 1280px;
    margin: 8px auto;
    padding: 55px 24px;
}

.calc-intro h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.calc-intro p {
    font-size: 18px;
    color: #5f7692;
    margin-bottom: 28px;
}

.calc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.calc-main-left {
    min-width: 0;
}

.calc-top-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
}

    .calc-top-tabs .tab {
        background: #3d4656;
        color: #fff;
        border: 0;
        padding: 14px 22px;
        font-size: 16px;
        cursor: pointer;
    }

        .calc-top-tabs .tab.active {
            background: #f47825;
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.spec-card {
    background: #fff;
    border: 2px solid #d8dde3;
    border-radius: 16px;
    padding: 18px 18px 16px;
    min-height: 86px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .spec-card:hover {
        border-color: #f28a2e;
    }

    .spec-card.active {
        border-color: #f28a2e;
        box-shadow: 0 0 0 2px rgba(242, 138, 46, 0.08);
    }

        .spec-card.active::after {
            content: "";
            width: 12px;
            height: 12px;
            border-radius: 999px;
            background: #f28a2e;
            position: absolute;
            top: 18px;
            right: 18px;
        }

.spec-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #13233a;
    margin-bottom: 10px;
}

.spec-card-subtitle {
    font-size: 14px;
    color: #667085;
    line-height: 1.4;
}

.calc-form-wrap {
    margin-top: 26px;
}

.form-card {
    background: #fff;
    border: 1px solid #d8dde3;
    border-radius: 16px;
    overflow: hidden;
}

    .form-card h3 {
        margin: 0;
        padding: 24px 24px 8px;
    }

    .form-card > p {
        margin: 0;
        padding: 0 24px 22px;
        color: #667085;
    }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    padding: 24px;
    border-top: 1px solid #e7ebf0;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #4c6480;
}

.form-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cfd6de;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 18px;
}

.calc-right {
    position: sticky;
    top: 24px;
    background: #2f4057;
    color: #ffffff;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.result-heading {
    color: #f28a2e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tonnage-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.tonnage-value {
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
}

.tonnage-unit {
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.selected-spec-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 24px;
}

.result-summary-box {
    background: #24364c;
    border-radius: 4px;
    padding: 18px 16px;
    margin-bottom: 26px;
}

.result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.86);
}

    .result-line strong {
        color: #ffffff;
        font-weight: 700;
    }

.total-line {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

    .total-line span,
    .total-line strong {
        color: #f28a2e;
        font-weight: 700;
    }

.calc-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 14px 14px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.45;
}

.calc-note-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 1px solid #f28a2e;
    color: #f28a2e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

.pdf-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 0;
    border-radius: 3px;
    background: #f28a2e;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-sizing: border-box;
}

/* ===== Commercial ===== */
.commercial-retaining-page {
    padding: 30px 16px 60px;
}

.commercial-retaining-wrap {
    max-width: 1250px;
    margin: 0 auto;
}

.commercial-retaining-layout {
    display: grid;
    grid-template-columns: 520px 1fr;
    border-radius: 26px;
    overflow: hidden;
    min-height: 660px;
    box-shadow: 0 18px 40px rgba(18, 33, 54, 0.08);
}

.commercial-left-panel {
    background: linear-gradient(135deg, #31445d 0%, #213247 100%);
    color: #fff;
}

.commercial-left-inner {
    padding: 56px 42px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.commercial-kicker {
    margin: 0 0 16px;
    color: #f28a2e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.commercial-main-title {
    margin: 0 0 16px;
    font-size: 56px;
    line-height: 1.02;
    font-weight: 400;
    color: #fff;
}

.commercial-price {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.commercial-desc {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
}

.commercial-purpose-box {
    margin-top: 34px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
}

    .commercial-purpose-box h3 {
        margin: 0 0 14px;
        font-size: 15px;
        font-weight: 700;
        color: #f28a2e;
        text-transform: uppercase;
    }

    .commercial-purpose-box ul {
        margin: 0;
        padding-left: 18px;
    }

    .commercial-purpose-box li {
        margin-bottom: 12px;
        line-height: 1.5;
    }

.commercial-right-panel {
    background: #fff;
}

.commercial-form-box {
    padding: 44px 38px;
    height: 100%;
}

    .commercial-form-box h2 {
        margin: 0 0 8px;
        font-size: 32px;
        color: #1f3145;
    }

.commercial-form-subtext {
    margin: 0 0 24px;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.commercial-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.commercial-field {
    display: flex;
    flex-direction: column;
}

.commercial-field-full {
    grid-column: 1 / -1;
}

.commercial-field label {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #516985;
}

.commercial-input,
.commercial-textarea {
    width: 100%;
    border: 1px solid #d2d9e1;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    box-sizing: border-box;
}

.commercial-textarea {
    min-height: 170px;
    resize: vertical;
}

.commercial-submit-btn {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #f28a2e;
    color: #fff;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.commercial-success-state {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.commercial-success-message {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

    .commercial-success-message p {
        margin: 0;
        font-size: 22px;
        line-height: 1.45;
        font-weight: 700;
        color: #000;
    }

.commercial-success-button span {
    display: block;
    width: 100%;
    border-radius: 8px;
    background: #666672;
    color: #fff;
    padding: 16px 20px;
    text-align: center;
}

/* ===== Non Grant ===== */
.ngst-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

.ngst-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(18, 33, 54, 0.08);
    background: #ffffff;
}

.ngst-left {
    background: linear-gradient(135deg, #31445d 0%, #213247 100%);
    color: #ffffff;
    padding: 56px 40px;
}

.ngst-eyebrow {
    margin: 0 0 18px;
    color: #f28a2e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ngst-left h2 {
    margin: 0 0 22px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 300;
    color: #ffffff;
}

.ngst-left p,
.ngst-left li {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.95);
}

.ngst-left-card {
    margin-top: 34px;
    padding: 28px 22px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
}

    .ngst-left-card h3 {
        margin: 0 0 18px;
        color: #f28a2e;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
    }

.ngst-right {
    background: #f8f8f8;
    padding: 42px 34px;
}

    .ngst-right h3 {
        margin: 0 0 10px;
        font-size: 28px;
        color: #17365c;
    }

.ngst-right-intro {
    margin: 0 0 24px;
    color: #5a6d84;
    font-size: 16px;
    line-height: 1.65;
}

.ngst-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ngst-field {
    display: flex;
    flex-direction: column;
}

.ngst-field-full {
    grid-column: 1 / -1;
}

.ngst-field label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2f4d73;
    margin-bottom: 8px;
}

.ngst-field input {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    background: #ffffff;
    color: #20344d;
    font-size: 16px;
    box-sizing: border-box;
}

.ngst-submit-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #62616b;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 14px 20px;
}

.ngst-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #e8f7ea;
    color: #1d5e2b;
    border: 1px solid #bde5c4;
    border-radius: 10px;
}

.text-danger {
    color: #b42318;
    font-size: 14px;
    margin-top: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .calc-layout {
        grid-template-columns: 1fr;
    }

    .calc-right {
        position: static;
    }
}

@media (max-width: 900px) {
    .commercial-retaining-layout,
    .ngst-split {
        grid-template-columns: 1fr;
    }

    .commercial-left-inner,
    .commercial-form-box,
    .ngst-left,
    .ngst-right {
        padding: 30px 22px;
    }

    .commercial-main-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .spec-grid,
    .form-grid,
    .commercial-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full,
    .commercial-field-full {
        grid-column: auto;
    }
}
/*   Ends Here */

/* ===== Export Page ===== */
.export-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #526b89;
}

.export-page h1 {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1.05;
}

.export-intro {
    max-width: 850px;
    font-size: 20px;
    line-height: 1.5;
    color: #5f7692;
    margin-bottom: 34px;
}

.export-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}

.export-left-card,
.export-right-card {
    background: #fff;
    border: 1px solid #d8dde3;
    border-radius: 10px;
    overflow: hidden;
}

.export-left-card {
    min-width: 0;
}

.export-right-card {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    justify-self: end;
    align-self: start;
    position: sticky;
    top: 24px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(18, 33, 54, 0.08);
}

.package-head {
    background: #31445d;
    color: #fff;
    padding: 26px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

    .package-head h2 {
        margin: 0 0 6px;
        font-size: 22px;
    }

    .package-head p {
        margin: 0;
        color: rgba(255,255,255,0.78);
    }

.package-price {
    text-align: right;
}

.price-main {
    font-size: 34px;
    font-weight: 700;
    color: #f28a2e;
}

.price-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.package-body {
    padding: 28px 24px;
}

    .package-body h3 {
        margin-top: 0;
        margin-bottom: 20px;
    }

.package-list {
    margin: 0 0 28px;
    padding-left: 20px;
}

    .package-list li {
        margin-bottom: 12px;
    }

.selected-summary {
    border-top: 1px solid #e4e8ed;
    border-bottom: 1px solid #e4e8ed;
    padding: 22px 0;
    margin-bottom: 24px;
}

    .selected-summary h4 {
        margin-top: 0;
        margin-bottom: 14px;
    }

    .selected-summary p {
        margin: 8px 0;
    }

.email-block label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.email-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 16px;
}

    .email-row input {
        height: 50px;
        padding: 0 14px;
        border: 1px solid #cfd6de;
        border-radius: 4px;
        box-sizing: border-box;
        width: 100%;
    }

.email-note {
    margin-top: 10px;
    font-size: 14px;
    color: #667085;
}

.continue-btn {
    height: 50px;
    border: 0;
    background: #9aa4b2;
    color: #fff;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.65;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

    .continue-btn.is-active {
        background: #f28a2e;
        cursor: pointer;
        opacity: 1;
    }

        .continue-btn.is-active:hover {
            transform: translateY(-1px);
        }

.export-right-card h3 {
    margin-top: 0;
    margin-bottom: 24px;
    color: #6d7f96;
    font-size: 16px;
    letter-spacing: 0.06em;
}

.summary-row,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.summary-row {
    padding: 14px 0;
    border-bottom: 1px solid #eceff3;
    color: #344054;
}

.summary-total {
    padding: 20px 0 10px;
    font-size: 18px;
    font-weight: 700;
}

    .summary-total span:last-child {
        color: #f28a2e;
    }

.summary-note {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #eceff3;
    border-radius: 4px;
    font-size: 14px;
    color: #667085;
    line-height: 1.5;
}

.vat-reg {
    margin-top: 10px;
    font-size: 12px;
}

.next-step-box {
    padding: 22px;
}

.next-step-text {
    font-size: 16px;
    line-height: 1.6;
    color: #5f7692;
    margin-bottom: 20px;
}

.saved-email-box {
    background: #f7f9fc;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.payment-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.back-step-btn,
.pay-btn {
    height: 50px;
    border: 0;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
}

.back-step-btn {
    background: #e5e7eb;
    color: #1f2937;
}

.pay-btn {
    background: #f28a2e;
    color: #fff;
}

.stripe-payment-step {
    margin-top: 10px;
}

.checkout-contact-card,
.checkout-payment-card {
    background: #fff;
    border: 1px solid #d9dee7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(25, 39, 62, 0.06);
}

    .checkout-contact-card h3,
    .checkout-payment-card h3 {
        margin: 0 0 10px;
    }

.checkout-field {
    margin-bottom: 18px;
}

    .checkout-field label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .checkout-field input {
        width: 100%;
        border: 1px solid #cfd6e0;
        border-radius: 10px;
        padding: 12px 14px;
        font-size: 16px;
        box-sizing: border-box;
    }

.payment-placeholder-box {
    width: 100%;
    min-height: 120px;
    border: 2px dashed #cfd6e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    background: #fafbfd;
    text-align: center;
    padding: 20px;
}

#payment-message {
    margin-top: 12px;
    color: #b42318;
}

.payment-success-modal {
    position: fixed;
    inset: 0;
    background: rgba(27, 33, 43, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-success-box {
    width: min(420px, calc(100vw - 32px));
    background: #4a4a4a;
    color: #fff;
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.payment-success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

#payment-success-ok {
    margin-top: 18px;
    background: transparent;
    border: 0;
    color: #7bd3ff;
    font-size: 18px;
    cursor: pointer;
    float: right;
}

@media (max-width: 768px) {
    .export-grid {
        grid-template-columns: 1fr;
    }
}

    .export-right-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-self: stretch;
        position: static;
        margin-top: 24px;
    }

    .email-row {
        grid-template-columns: 1fr;
    }

    /*  Bits   */
    #payment-element {
        min-height: 52px;
        width: 100%;
        margin-bottom: 18px;
    }

    #submit-payment {
        width: 100%;
        border: 0;
        border-radius: 8px;
        padding: 16px 18px;
        background: #0d4c97;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        margin-top: 18px;
    }

    #payment-message {
        margin-top: 12px;
        color: #b42318;
    }
    /* Ends Here */

    /* Starts here Non-grant age  */
    .non-grant-calc-page .calc-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 28px;
        align-items: start;
    }

    .non-grant-calc-page .calc-main-left {
        min-width: 0;
    }

    .non-grant-calc-page .calc-right {
        position: sticky;
        top: 24px;
        align-self: start;
    }

    .non-grant-calc-page .spec-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .ng-note-box {
        margin: 18px 0 26px;
        padding: 16px 18px;
        border-left: 4px solid #f28a2e;
        background: #fff7ed;
        color: #7c4a12;
        border-radius: 8px;
        max-width: 900px;
    }

    @media (max-width: 1024px) {
        .non-grant-calc-page .calc-layout {
            grid-template-columns: 1fr;
        }

        .non-grant-calc-page .calc-right {
            position: static;
        }
    }

    @media (max-width: 900px) {
        .non-grant-calc-page .spec-grid {
            grid-template-columns: 1fr;
        }
    }
    /* Ends Here*/

    /* ------- Non Grant 2nd -------- */
    .schedule-preview-card {
        margin-top: 24px;
        padding: 18px;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
    }

    .schedule-preview-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 20px;
    }

    .schedule-drawing-wrap {
        background: #fafafa;
        border: 1px solid #e1e1e1;
        border-radius: 8px;
        padding: 10px;
    }

    .schedule-drawing {
        width: 100%;
        display: block;
    }

    .schedule-table-wrap {
        overflow-x: auto;
    }

    .schedule-table th,
    .schedule-table td {
        white-space: nowrap;
        font-size: 12px;
    }

    .schedule-total-line {
        margin-top: 10px;
        font-size: 16px;
    }

    #pdf_export_form {
        margin-top: 16px;
    }

        #pdf_export_form .pdf-btn {
            width: 100%;
            border: 0;
            cursor: pointer;
        }

    /* Ends Here*/

    /* ----- Payments Admin Dashboard Styling ----- */
    .admin-filters {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) 220px auto;
        gap: 16px;
        align-items: end;
        margin-bottom: 20px;
    }

    .admin-filter-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .admin-filter-group label {
            font-size: 13px;
            font-weight: 700;
            color: #475467;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .admin-filter-group input,
        .admin-filter-group select {
            height: 46px;
            border: 1px solid #d0d5dd;
            border-radius: 10px;
            padding: 0 14px;
            font-size: 14px;
            background: #fff;
            box-sizing: border-box;
        }

    .admin-filter-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .admin-btn {
        height: 46px;
        padding: 0 18px;
        border-radius: 10px;
        border: 0;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-sizing: border-box;
    }

    .admin-btn-primary {
        background: #f28a2e;
        color: #fff;
    }

    .admin-btn-secondary {
        background: #e5e7eb;
        color: #1f2937;
    }

    .admin-results-summary {
        margin: 8px 0 18px;
        color: #667085;
        font-size: 14px;
    }

    .admin-badge {
        display: inline-block;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

    .admin-badge-grant {
        background: #e8f1ff;
        color: #1d4ed8;
    }

    .admin-badge-nongrant {
        background: #fff1e8;
        color: #c2410c;
    }

    @media (max-width: 900px) {
        .admin-filters {
            grid-template-columns: 1fr;
        }

        .admin-filter-actions {
            width: 100%;
        }

        .admin-btn {
            width: 100%;
        }
    }
    /*  Ends Here   */

    /* ------- Shared homepage width --------- */
    /* ========================= GLOBAL GRID BACKGROUND ========================= */
    .home-main-container {
        max-width: 1280px;
    }

    .hero-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-section {
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        min-height: 640px;
        background-image: url('/images/hero-steel.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( to right, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.18) 100% );
    }

    .hero-content-wrap {
        position: relative;
        z-index: 2;
        min-height: 640px;
        display: flex;
        align-items: center;
/*        padding: 0 40px;*/
    }

.hero-glass {
    background: rgba(70 65 59 / 55%);
    backdrop-filter: blur(6px);
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    max-width: 861px;
}

        .hero-glass h1 {
            font-size: clamp(56px, 7vw, 86px);
            line-height: 0.92;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 18px;
        }

        .hero-glass p {
            color: #e5e7eb;
            font-size: 19px;
            line-height: 1.6;
            margin-bottom: 24px;
        }

    .hero-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .home-features-section {
        padding: 60px 0 80px;
    }

.hero-title {
    font-size: clamp(52px, 7vw, 86px);
    line-height: 0.95;
    margin-bottom: 18px;
}

/* Special hero STEEL wording styles */
.steel-brace {
    font-family: 'Steel Plate', sans-serif !important;
    color: #f28a2e;
    letter-spacing: 2px;
    display: inline-block;
    margin-right: 10px;
}

/* Special hero Scheduling App. wording styles */
/*.hero-title-rest {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #ffffff;
}*/

.steel-rusty {
    position: relative;
    display: inline-block;
    margin-right: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b8b1aa;
    background: radial-gradient(circle at 18% 22%, #ddd7d1 0%, #bdb3aa 18%, transparent 19%), radial-gradient(circle at 74% 28%, #9a6b4f 0%, #714c38 16%, transparent 17%), radial-gradient(circle at 38% 70%, #d3ccc5 0%, #8d8178 14%, transparent 15%), radial-gradient(circle at 84% 76%, #7a5640 0%, #563a2b 12%, transparent 13%), linear-gradient(180deg, #dad5cf 0%, #a79d93 28%, #7e756d 52%, #c4bdb6 70%, #5d5853 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 2px #2b2f34;
    text-shadow: 0 1px 0 #f1efec, 0 2px 0 #c7c0b8, 0 3px 0 #8a8f95, 0 4px 0 #4a4f55, 0 6px 10px rgba(0, 0, 0, 0.35), 2px 2px 0 #1b1f23, 4px 4px 10px rgba(0, 0, 0, 0.35);
    filter: drop-shadow(0 2px 1px rgba(255,255,255,0.18)) drop-shadow(0 8px 12px rgba(0,0,0,0.35));
}

    /* top highlight bevel */
    .steel-rusty::before {
        content: attr(data-text);
        position: absolute;
        inset: 0;
        z-index: 1;
        color: transparent;
        -webkit-text-stroke: 1px rgba(255,255,255,0.35);
        text-shadow: 0 -1px 0 rgba(255,255,255,0.4), 0 1px 0 rgba(0,0,0,0.15);
        pointer-events: none;
    }

    /* dark extruded shadow edge */
    .steel-rusty::after {
        content: attr(data-text);
        position: absolute;
        left: 3px;
        top: 4px;
        z-index: -1;
        color: rgba(24, 28, 33, 0.95);
        -webkit-text-stroke: 2px #161a1e;
        text-shadow: 0 2px 0 #111417, 0 4px 8px rgba(0,0,0,0.45);
        pointer-events: none;
    }

.hero-title-rest {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
}

/* better on smaller screens */
@media (max-width: 768px) {
    .steel-rusty {
        -webkit-text-stroke: 1.5px #2b2f34;
    }

        .steel-rusty::after {
            left: 2px;
            top: 3px;
        }
}

/* Ends Here */

/* Make remaining text clean + modern */
.hero-title {
    font-family: 'Segoe UI', sans-serif;
}

    .feature-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 38px 34px 34px;
        box-shadow: 0 12px 30px rgba(18, 33, 54, 0.08);
        border: 1px solid #eef1f5;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 38px rgba(18, 33, 54, 0.12);
            border: 1px solid orange;
        }


        .feature-card:hover .feature-icon {
            background: #f28a2e;
        }

            .feature-card:hover .feature-icon i {
                color: #fff;
            }

    .feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

        .feature-icon i {
            font-size: 34px;
            color: #2b2f36;
            line-height: 1;
        }

    .feature-card h3 {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 16px;
        color: #1f2937;
    }

    .feature-card p {
        color: #6b7280;
        font-size: 16px;
        line-height: 1.75;
        margin-bottom: 18px;
    }

    .feature-link {
        color: #f28a2e;
        font-weight: 700;
        text-decoration: none;
    }

        .feature-link:hover {
            color: #c2410c;
        }
    @media (max-width: 991px) {
        .hero-content-wrap {
            padding: 20px;
        }
    }

    @media (max-width: 600px) {
        .hero-glass h1 {
            font-size: 38px;
        }
    }
    /* ---- Homepage ends here ------ */


    footer.footer-custom.border-top {
        background: #ffffff;
    }

    /* ------- Header --------   */

.navbar-shell {
    min-height: 92px;
}

/* ===== HEADER DARK THEME ===== */
header {
    background: rgb(11, 11, 11, 0.95);
    backdrop-filter: blur(6px);
/*    border-bottom: 1px solid #1f2937;*/
}

.border-bottom[b-wylj270otv] {
    border-bottom: 0 !important;
}

.navbar {
    background: #2f4057;
}

.site-logo-dark {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.site-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-accent {
    color: #f28a2e;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #5b6b7d;
}

.nav-menu-custom {
    gap: 10px;
    align-items: center;
}

.navbar-light .navbar-nav .nav-link {
    color: #f28a2e;
}

.nav-menu-custom .nav-link {
    color: #f28a2e;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
}

    .nav-menu-custom .nav-link:hover {
        color: #ffffff;
        background: rgba(242, 138, 46, 0.15);
    }

    .nav-menu-custom .nav-link.active {
        color: #ffffff;
        background: rgba(242, 138, 46, 0.25);
    }

@media (max-width: 991.98px) {
    .navbar-shell {
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-logo {
        height: 40px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .nav-menu-custom {
        gap: 4px;
        margin-top: 12px;
    }

        .nav-menu-custom .nav-link {
            padding-left: 0;
            padding-right: 0;
        }
}

    /*  Ends Here  */

