/*!
 * Account-Care shared modern page styles
 * Pages: about.php, terms.php, privacy.php, refunds.php, payment.php
 * Bootstrap 3.4 compatible
 */

/* ========================================================================== 
   ABOUT PAGE
   ========================================================================== */
.about-page {
    --about-primary: #2563eb;
    --about-primary-dark: #1d4ed8;
    --about-accent: #14b8a6;
    --about-ink: #172033;
    --about-muted: #667085;
    --about-line: #e7ebf1;
    --about-soft: #f6f8fc;
    color: var(--about-ink);
    margin: 0 auto;
    max-width: 1440px;
    padding: 18px 18px 38px;
}

.about-page * {
    box-sizing: border-box;
}

.about-hero {
    align-items: center;
    background:
        radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.25), transparent 28%),
        linear-gradient(135deg, #13213b 0%, #1d3d73 55%, #1d4ed8 100%);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(29, 78, 216, 0.16);
    color: #fff;
    display: flex;
    justify-content: space-between;
    min-height: 250px;
    overflow: hidden;
    padding: 42px 48px;
    position: relative;
}

.about-hero::after {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    height: 310px;
    position: absolute;
    right: -115px;
    top: -145px;
    width: 310px;
}

.about-hero-copy {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.about-eyebrow {
    color: #9eece1;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 13px;
    text-transform: uppercase;
}

.about-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.7px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.about-hero-description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

.about-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.about-hero-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
    padding: 7px 12px;
}

.about-hero-brand {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(8, 20, 48, 0.2);
    display: flex;
    flex: 0 0 290px;
    height: 128px;
    justify-content: center;
    margin-left: 35px;
    padding: 22px;
    position: relative;
    z-index: 1;
}

.about-hero-brand img {
    height: auto;
    max-height: 82px;
    max-width: 100%;
    width: 100%;
}

.about-release-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 20px 0;
}

.about-release-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--about-line);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(23, 32, 51, 0.05);
    display: flex;
    gap: 14px;
    min-height: 96px;
    padding: 18px;
}

.about-release-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 12px;
    color: var(--about-primary);
    display: flex;
    flex: 0 0 44px;
    font-size: 18px;
    height: 44px;
    justify-content: center;
}

.about-release-card:nth-child(2) .about-release-icon {
    background: #e8faf7;
    color: #0f9f91;
}

.about-release-card:nth-child(3) .about-release-icon {
    background: #f2edff;
    color: #7557d3;
}

.about-release-card:nth-child(4) .about-release-icon {
    background: #fff3e6;
    color: #d97706;
}

.about-release-label {
    color: var(--about-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.about-release-value {
    color: var(--about-ink);
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.about-content-grid {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-main-column {
    display: grid;
    gap: 20px;
}

.about-card,
.about-changelog-panel {
    background: #fff;
    border: 1px solid var(--about-line);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(23, 32, 51, 0.055);
    overflow: hidden;
}

.about-card-header,
.about-changelog-header {
    align-items: center;
    border-bottom: 1px solid var(--about-line);
    display: flex;
    justify-content: space-between;
    padding: 18px 22px;
}

.about-card-heading {
    align-items: center;
    display: flex;
    gap: 11px;
}

.about-card-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 10px;
    color: var(--about-primary);
    display: flex;
    font-size: 15px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.about-card-header h2,
.about-changelog-header h2 {
    color: var(--about-ink);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.about-card-body {
    padding: 22px;
}

.about-company-intro {
    color: #4d596a;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 20px;
}

.about-info-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-info-item {
    background: var(--about-soft);
    border: 1px solid #edf0f5;
    border-radius: 12px;
    min-height: 78px;
    padding: 13px 15px;
}

.about-info-label {
    color: var(--about-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.45px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.about-info-value {
    color: var(--about-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.about-contact-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-contact-item {
    align-items: flex-start;
    background: var(--about-soft);
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--about-ink);
    display: flex;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

a.about-contact-item:hover,
a.about-contact-item:focus {
    border-color: #b9cdfb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
    color: var(--about-primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.about-contact-icon {
    align-items: center;
    background: #fff;
    border: 1px solid var(--about-line);
    border-radius: 9px;
    color: var(--about-primary);
    display: flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-top: 1px;
}

.about-contact-item .about-contact-icon {
    color: var(--about-primary);
}

.about-contact-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}

.about-contact-item span {
    color: var(--about-muted);
    font-size: 12px;
    line-height: 1.5;
}

.about-address {
    grid-column: 1 / -1;
}

.about-address-lines {
    display: grid;
    gap: 5px;
}

.about-changelog-column {
    min-width: 0;
}

.about-changelog-panel {
    position: sticky;
    top: 15px;
}

.about-changelog-header {
    background: linear-gradient(180deg, #fff, #fafbfe);
    padding: 19px 20px;
}

.about-changelog-title {
    align-items: center;
    display: flex;
    gap: 11px;
}

.about-changelog-title-icon {
    align-items: center;
    background: #e8faf7;
    border-radius: 10px;
    color: #0f9f91;
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.about-changelog-subtitle {
    color: var(--about-muted);
    display: block;
    font-size: 11px;
    margin-top: 3px;
}

.about-changelog-count {
    background: #edf2ff;
    border-radius: 999px;
    color: var(--about-primary-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 9px;
}

.about-changelog-list {
    max-height: 690px;
    overflow-y: auto;
    padding: 8px 20px 8px 30px;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}

.about-changelog-item {
    border-left: 2px solid #e2e8f0;
    padding: 14px 0 18px 21px;
    position: relative;
}

.about-changelog-item::before {
    background: #fff;
    border: 3px solid #94a3b8;
    border-radius: 50%;
    content: "";
    height: 13px;
    left: -7px;
    position: absolute;
    top: 20px;
    width: 13px;
}

.about-changelog-item.is-latest::before {
    border-color: var(--about-accent);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.about-changelog-item:last-child {
    border-left-color: transparent;
}

.about-changelog-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.about-changelog-version {
    background: #edf2ff;
    border-radius: 999px;
    color: var(--about-primary-dark);
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 9px;
}

.about-changelog-item.is-latest .about-changelog-version {
    background: #ddf8f3;
    color: #087f73;
}

.about-changelog-date {
    color: var(--about-muted);
    font-size: 14px;
    white-space: nowrap;
    font-weight: bold;
}

.about-changelog-note {
    color: #4d596a;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.about-changelog-empty {
    color: var(--about-muted);
    padding: 52px 24px;
    text-align: center;
}

.about-changelog-empty i {
    color: #b5bfcc;
    display: block;
    font-size: 30px;
    margin-bottom: 12px;
}

.about-changelog-empty strong {
    color: var(--about-ink);
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.about-changelog-empty span {
    font-size: 12px;
}

.about-footer-note {
    color: var(--about-muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 16px 4px 0;
    text-align: center;
    font-weight: bolder;
}

@media (max-width: 1050px) {
    .about-release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .about-changelog-panel {
        position: static;
    }

    .about-changelog-list {
        max-height: 560px;
    }
}

@media (max-width: 767px) {
    .about-page {
        padding: 10px 10px 28px;
    }

    .about-hero {
        align-items: flex-start;
        border-radius: 16px;
        flex-direction: column;
        padding: 30px 24px;
    }

    .about-hero h1 {
        font-size: 31px;
    }

    .about-hero-brand {
        flex-basis: auto;
        height: 100px;
        margin: 28px 0 0;
        max-width: 330px;
        width: 100%;
    }

    .about-release-grid,
    .about-info-grid,
    .about-contact-grid {
        grid-template-columns: 1fr;
    }

    .about-address {
        grid-column: auto;
    }

    .about-card-header,
    .about-card-body {
        padding-left: 17px;
        padding-right: 17px;
    }

    .about-changelog-list {
        padding-left: 25px;
        padding-right: 15px;
    }
}

@media (max-width: 420px) {
    .about-release-card {
        min-height: 86px;
    }

    .about-changelog-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ========================================================================== 
   TERMS PAGE
   ========================================================================== */
.terms-page {
    --terms-primary: #2563eb;
    --terms-primary-dark: #1d4ed8;
    --terms-accent: #14b8a6;
    --terms-ink: #172033;
    --terms-muted: #667085;
    --terms-line: #e6eaf0;
    --terms-soft: #f6f8fc;
    color: var(--terms-ink);
    margin: 0 auto;
    max-width: 1440px;
    padding: 18px 18px 42px;
}
.terms-page * {
    box-sizing: border-box;
}
.terms-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(20, 184, 166, 0.28), transparent 28%),
        linear-gradient(135deg, #13213b 0%, #1d3d73 56%, #1d4ed8 100%);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(29, 78, 216, 0.15);
    color: #fff;
    overflow: hidden;
    padding: 42px 48px;
    position: relative;
}
.terms-hero::after {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    height: 320px;
    position: absolute;
    right: -110px;
    top: -175px;
    width: 320px;
}
.terms-eyebrow {
    color: #9eece1;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.terms-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}
.terms-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 720px;
    position: relative;
    z-index: 1;
}
.terms-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}
.terms-hero-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
    padding: 7px 12px;
}
.terms-summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
}
.terms-summary-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--terms-line);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(23, 32, 51, 0.05);
    display: flex;
    gap: 13px;
    min-height: 88px;
    padding: 16px 18px;
}
.terms-summary-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 11px;
    color: var(--terms-primary);
    display: flex;
    flex: 0 0 42px;
    font-size: 17px;
    height: 42px;
    justify-content: center;
}
.terms-summary-item:nth-child(2) .terms-summary-icon {
    background: #e8faf7;
    color: #0f9f91;
}
.terms-summary-item:nth-child(3) .terms-summary-icon {
    background: #f2edff;
    color: #7557d3;
}
.terms-summary-label {
    color: var(--terms-muted);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.terms-summary-value {
    color: var(--terms-ink);
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.terms-layout {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: 270px minmax(0, 1fr);
}
.terms-sidebar {
    background: #fff;
    border: 1px solid var(--terms-line);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(23, 32, 51, 0.055);
    overflow: hidden;
    position: sticky;
    top: 55px;
}
.terms-sidebar-header {
    align-items: center;
    border-bottom: 1px solid var(--terms-line);
    display: flex;
    gap: 10px;
    padding: 17px 18px;
}
.terms-sidebar-icon {
    align-items: center;
    background: #e8faf7;
    border-radius: 9px;
    color: #0f9f91;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}
.terms-sidebar h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}
.terms-nav {
    max-height: 650px;
    overflow-y: auto;
    padding: 9px;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}
.terms-nav a {
    align-items: center;
    border-radius: 8px;
    color: #4d596a;
    display: flex;
    font-size: 12px;
    gap: 9px;
    line-height: 1.35;
    padding: 9px 10px;
    text-decoration: none;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}
.terms-nav a::before {
    background: #cbd5e1;
    border-radius: 50%;
    content: "";
    flex: 0 0 5px;
    height: 5px;
    width: 5px;
}
.terms-nav a:hover,
.terms-nav a:focus {
    background: #edf2ff;
    color: var(--terms-primary-dark);
    text-decoration: none;
}
.terms-nav a:hover::before,
.terms-nav a:focus::before {
    background: var(--terms-primary);
}
.terms-document {
    display: grid;
    gap: 14px;
    margin: 0;
    min-width: 0;
}
.terms-document .form-group {
    background: #fff;
    border: 1px solid var(--terms-line);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(23, 32, 51, 0.045);
    margin: 0;
    padding: 22px 24px;
    scroll-margin-top: 18px;
}
.terms-document .col-sm-12 {
    float: none;
    padding: 0;
    width: 100%;
}
.terms-document .col-sm-12 > div {
    width: 100%;
}
.terms-document span[id="el_reconfirm__masterid"] {
    display: block;
}
.terms-document .ewLabel {
    align-items: center;
    color: var(--terms-ink);
    display: flex;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.25px;
    margin: 0 0 13px;
    padding: 0;
    text-align: left;
}
.terms-document .ewLabel::before {
    background: linear-gradient(180deg, var(--terms-primary), var(--terms-accent));
    border-radius: 4px;
    content: "";
    height: 22px;
    margin-right: 10px;
    width: 4px;
}
.terms-document .form-control-static {
    color: #4d596a;
    font-size: 14px;
    line-height: 1.78;
    margin: 0 0 10px;
    min-height: 0;
    padding: 0;
    text-align: left;
}
.terms-document .form-control-static:last-child {
    margin-bottom: 0;
}
.terms-document .softin {
    color: var(--terms-primary-dark);
    font-weight: 600;
}
.terms-document strong {
    color: #273347;
}
.terms-document ol,
.terms-document ul {
    color: #4d596a;
    margin: 10px 0 0;
    padding-left: 25px;
}
.terms-document li {
    font-size: 14px;
    line-height: 1.72;
    margin-bottom: 8px;
    padding-left: 3px;
    text-align: left;
}
.terms-document li:last-child {
    margin-bottom: 0;
}
.terms-document ol > li::marker {
    color: var(--terms-primary);
    font-weight: 700;
}
.terms-document ul > li::marker {
    color: var(--terms-accent);
}
.terms-introduction {
    background: linear-gradient(135deg, #f2f6ff, #f0fdfa) !important;
    border-color: #d8e5ff !important;
    position: relative;
}
.terms-introduction::before {
    color: var(--terms-primary);
    content: "\f05a";
    font-family: FontAwesome;
    font-size: 18px;
    left: 24px;
    position: absolute;
    top: 23px;
}
.terms-introduction .form-control-static {
    padding-left: 30px;
}
.terms-footer-note {
    color: var(--terms-muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 18px 4px 0;
    text-align: center;
}
@media (max-width: 1050px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }
    .terms-sidebar {
        position: static;
    }
    .terms-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: none;
    }
}
@media (max-width: 767px) {
    .terms-page {
        padding: 10px 10px 30px;
    }
    .terms-hero {
        border-radius: 16px;
        padding: 30px 24px;
    }
    .terms-hero h1 {
        font-size: 31px;
    }
    .terms-summary {
        grid-template-columns: 1fr;
    }
    .terms-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .terms-document .form-group {
        border-radius: 13px;
        padding: 18px 17px;
    }
    .terms-introduction::before {
        left: 17px;
        top: 19px;
    }
    .terms-introduction .form-control-static {
        padding-left: 27px;
    }
}
@media (max-width: 440px) {
    .terms-nav {
        grid-template-columns: 1fr;
    }
    .terms-hero-badges {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media print {
    .terms-page {
        max-width: none;
        padding: 0;
    }
    .terms-hero {
        background: #fff !important;
        border: 1px solid #ccc;
        box-shadow: none;
        color: #000;
        padding: 20px;
    }
    .terms-hero h1,
    .terms-hero p,
    .terms-eyebrow {
        color: #000;
    }
    .terms-sidebar,
    .terms-summary,
    .terms-hero-badges,
    .ewToolbar {
        display: none !important;
    }
    .terms-layout {
        display: block;
    }
    .terms-document .form-group {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* ========================================================================== 
   PRIVACY PAGE
   ========================================================================== */
.privacy-page {
    --privacy-primary: #2563eb;
    --privacy-primary-dark: #1d4ed8;
    --privacy-accent: #14b8a6;
    --privacy-ink: #172033;
    --privacy-muted: #667085;
    --privacy-line: #e6eaf0;
    --privacy-soft: #f6f8fc;
    color: var(--privacy-ink);
    margin: 0 auto;
    max-width: 1440px;
    padding: 18px 18px 42px;
}
.privacy-page * {
    box-sizing: border-box;
}
.privacy-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(20, 184, 166, 0.28), transparent 28%),
        linear-gradient(135deg, #13213b 0%, #1d3d73 56%, #1d4ed8 100%);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(29, 78, 216, 0.15);
    color: #fff;
    overflow: hidden;
    padding: 42px 48px;
    position: relative;
}
.privacy-hero::after {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    height: 320px;
    position: absolute;
    right: -110px;
    top: -175px;
    width: 320px;
}
.privacy-eyebrow {
    color: #9eece1;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.privacy-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}
.privacy-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 720px;
    position: relative;
    z-index: 1;
}
.privacy-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}
.privacy-hero-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
    padding: 7px 12px;
}
.privacy-summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
}
.privacy-summary-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--privacy-line);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(23, 32, 51, 0.05);
    display: flex;
    gap: 13px;
    min-height: 88px;
    padding: 16px 18px;
}
.privacy-summary-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 11px;
    color: var(--privacy-primary);
    display: flex;
    flex: 0 0 42px;
    font-size: 17px;
    height: 42px;
    justify-content: center;
}
.privacy-summary-item:nth-child(2) .privacy-summary-icon {
    background: #e8faf7;
    color: #0f9f91;
}
.privacy-summary-item:nth-child(3) .privacy-summary-icon {
    background: #f2edff;
    color: #7557d3;
}
.privacy-summary-label {
    color: var(--privacy-muted);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.privacy-summary-value {
    color: var(--privacy-ink);
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.privacy-layout {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: 270px minmax(0, 1fr);
}
.privacy-sidebar {
    background: #fff;
    border: 1px solid var(--privacy-line);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(23, 32, 51, 0.055);
    overflow: hidden;
    position: sticky;
    top: 55px;
}
.privacy-sidebar-header {
    align-items: center;
    border-bottom: 1px solid var(--privacy-line);
    display: flex;
    gap: 10px;
    padding: 17px 18px;
}
.privacy-sidebar-icon {
    align-items: center;
    background: #e8faf7;
    border-radius: 9px;
    color: #0f9f91;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}
.privacy-sidebar h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}
.privacy-nav {
    padding: 9px;
}
.privacy-nav a {
    align-items: center;
    border-radius: 8px;
    color: #4d596a;
    display: flex;
    font-size: 12px;
    gap: 9px;
    line-height: 1.35;
    padding: 9px 10px;
    text-decoration: none;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}
.privacy-nav a::before {
    background: #cbd5e1;
    border-radius: 50%;
    content: "";
    flex: 0 0 5px;
    height: 5px;
    width: 5px;
}
.privacy-nav a:hover,
.privacy-nav a:focus {
    background: #edf2ff;
    color: var(--privacy-primary-dark);
    text-decoration: none;
}
.privacy-nav a:hover::before,
.privacy-nav a:focus::before {
    background: var(--privacy-primary);
}
.privacy-document {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.privacy-card {
    background: #fff;
    border: 1px solid var(--privacy-line);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(23, 32, 51, 0.045);
    padding: 22px 24px;
    scroll-margin-top: 18px;
}
.privacy-card h2 {
    align-items: center;
    color: var(--privacy-ink);
    display: flex;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.15px;
    line-height: 1.4;
    margin: 0 0 13px;
}
.privacy-card h2::before {
    background: linear-gradient(180deg, var(--privacy-primary), var(--privacy-accent));
    border-radius: 4px;
    content: "";
    flex: 0 0 4px;
    height: 23px;
    margin-right: 10px;
}
.privacy-card p {
    color: #4d596a;
    font-size: 14px;
    line-height: 1.78;
    margin: 0 0 12px;
    text-align: left;
}
.privacy-card p:last-child {
    margin-bottom: 0;
}
.privacy-card a {
    color: var(--privacy-primary-dark);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.privacy-introduction {
    background: linear-gradient(135deg, #f2f6ff, #f0fdfa);
    border-color: #d8e5ff;
}
.privacy-introduction h2::before {
    content: none;
}
.privacy-introduction h2 {
    font-size: 20px;
    margin-bottom: 12px;
}
.privacy-contact-card {
    background: linear-gradient(135deg, #f8fbff, #f2fdfb);
}
.privacy-contact-action {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe5f5;
    border-radius: 11px;
    color: var(--privacy-primary-dark);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 9px;
    margin-top: 5px;
    padding: 10px 14px;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}
.privacy-contact-action:hover,
.privacy-contact-action:focus {
    border-color: #a9c2fa;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.09);
    color: var(--privacy-primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}
.privacy-footer-note {
    color: var(--privacy-muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 18px 4px 0;
    text-align: center;
}
@media (max-width: 1050px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }
    .privacy-sidebar {
        position: static;
    }
    .privacy-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .privacy-page {
        padding: 10px 10px 30px;
    }
    .privacy-hero {
        border-radius: 16px;
        padding: 30px 24px;
    }
    .privacy-hero h1 {
        font-size: 31px;
    }
    .privacy-summary {
        grid-template-columns: 1fr;
    }
    .privacy-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .privacy-card {
        border-radius: 13px;
        padding: 18px 17px;
    }
}
@media (max-width: 440px) {
    .privacy-nav {
        grid-template-columns: 1fr;
    }
    .privacy-hero-badges {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media print {
    .privacy-page {
        max-width: none;
        padding: 0;
    }
    .privacy-hero {
        background: #fff !important;
        border: 1px solid #ccc;
        box-shadow: none;
        color: #000;
        padding: 20px;
    }
    .privacy-hero h1,
    .privacy-hero p,
    .privacy-eyebrow {
        color: #000;
    }
    .privacy-sidebar,
    .privacy-summary,
    .privacy-hero-badges,
    .ewToolbar {
        display: none !important;
    }
    .privacy-layout {
        display: block;
    }
    .privacy-card {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* ========================================================================== 
   REFUNDS PAGE
   ========================================================================== */
.refunds-page {
    --refunds-primary: #2563eb;
    --refunds-primary-dark: #1d4ed8;
    --refunds-accent: #14b8a6;
    --refunds-warning: #d97706;
    --refunds-ink: #172033;
    --refunds-muted: #667085;
    --refunds-line: #e6eaf0;
    --refunds-soft: #f6f8fc;
    color: var(--refunds-ink);
    margin: 0 auto;
    max-width: 1280px;
    padding: 18px 18px 42px;
}
.refunds-page * {
    box-sizing: border-box;
}
.refunds-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(20, 184, 166, 0.28), transparent 28%),
        linear-gradient(135deg, #13213b 0%, #1d3d73 56%, #1d4ed8 100%);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(29, 78, 216, 0.15);
    color: #fff;
    overflow: hidden;
    padding: 42px 48px;
    position: relative;
}
.refunds-hero::after {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    height: 320px;
    position: absolute;
    right: -110px;
    top: -175px;
    width: 320px;
}
.refunds-eyebrow {
    color: #9eece1;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.refunds-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}
.refunds-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
    position: relative;
    z-index: 1;
}
.refunds-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}
.refunds-hero-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
    padding: 7px 12px;
}
.refunds-summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
}
.refunds-summary-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--refunds-line);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(23, 32, 51, 0.05);
    display: flex;
    gap: 13px;
    min-height: 90px;
    padding: 16px 18px;
}
.refunds-summary-icon {
    align-items: center;
    background: #fff3e6;
    border-radius: 11px;
    color: var(--refunds-warning);
    display: flex;
    flex: 0 0 42px;
    font-size: 17px;
    height: 42px;
    justify-content: center;
}
.refunds-summary-item:nth-child(2) .refunds-summary-icon {
    background: #eaf1ff;
    color: var(--refunds-primary);
}
.refunds-summary-item:nth-child(3) .refunds-summary-icon {
    background: #e8faf7;
    color: #0f9f91;
}
.refunds-summary-label {
    color: var(--refunds-muted);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.refunds-summary-value {
    color: var(--refunds-ink);
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.refunds-content {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}
.refunds-card {
    background: #fff;
    border: 1px solid var(--refunds-line);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(23, 32, 51, 0.055);
    overflow: hidden;
}
.refunds-card-header {
    align-items: center;
    border-bottom: 1px solid var(--refunds-line);
    display: flex;
    gap: 11px;
    padding: 18px 22px;
}
.refunds-card-icon {
    align-items: center;
    background: #eaf1ff;
    border-radius: 10px;
    color: var(--refunds-primary);
    display: flex;
    font-size: 15px;
    height: 34px;
    justify-content: center;
    width: 34px;
}
.refunds-card-header h2 {
    color: var(--refunds-ink);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.refunds-card-body {
    padding: 24px;
}
.refunds-policy-notice {
    align-items: flex-start;
    background: linear-gradient(135deg, #fff8ed, #fffbf4);
    border: 1px solid #f7d7a7;
    border-radius: 13px;
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    padding: 17px;
}
.refunds-policy-notice-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #f3d19e;
    border-radius: 10px;
    color: var(--refunds-warning);
    display: flex;
    flex: 0 0 38px;
    font-size: 17px;
    height: 38px;
    justify-content: center;
}
.refunds-policy-notice .refunds-policy-notice-icon {
    color: var(--refunds-warning);
}
.refunds-policy-notice strong {
    color: #7c4706;
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.refunds-policy-notice span {
    color: #8a5b20;
    font-size: 12px;
    line-height: 1.55;
}
.refunds-policy-copy p {
    color: #4d596a;
    font-size: 14px;
    line-height: 1.78;
    margin: 0 0 13px;
    text-align: left;
}
.refunds-policy-copy p:last-child {
    margin-bottom: 0;
}
.refunds-help-card {
    position: sticky;
    top: 15px;
}
.refunds-help-card .refunds-card-icon {
    background: #e8faf7;
    color: #0f9f91;
}
.refunds-help-copy {
    color: #4d596a;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 17px;
}
.refunds-actions {
    display: grid;
    gap: 10px;
}
.refunds-action {
    align-items: center;
    background: var(--refunds-soft);
    border: 1px solid var(--refunds-line);
    border-radius: 11px;
    color: var(--refunds-ink);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 10px;
    padding: 12px 13px;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}
.refunds-action i {
    color: var(--refunds-primary);
    width: 16px;
}
.refunds-action:hover,
.refunds-action:focus {
    border-color: #aec5fa;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
    color: var(--refunds-primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}
.refunds-footer-note {
    color: var(--refunds-muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 18px 4px 0;
    text-align: center;
}
@media (max-width: 900px) {
    .refunds-content {
        grid-template-columns: 1fr;
    }
    .refunds-help-card {
        position: static;
    }
}
@media (max-width: 767px) {
    .refunds-page {
        padding: 10px 10px 30px;
    }
    .refunds-hero {
        border-radius: 16px;
        padding: 30px 24px;
    }
    .refunds-hero h1 {
        font-size: 31px;
    }
    .refunds-summary {
        grid-template-columns: 1fr;
    }
    .refunds-card-body {
        padding: 19px 17px;
    }
}
@media (max-width: 440px) {
    .refunds-hero-badges {
        align-items: flex-start;
        flex-direction: column;
    }
    .refunds-policy-notice {
        flex-direction: column;
    }
}
@media print {
    .refunds-page {
        max-width: none;
        padding: 0;
    }
    .refunds-hero {
        background: #fff !important;
        border: 1px solid #ccc;
        box-shadow: none;
        color: #000;
        padding: 20px;
    }
    .refunds-hero h1,
    .refunds-hero p,
    .refunds-eyebrow {
        color: #000;
    }
    .refunds-summary,
    .refunds-help-card,
    .refunds-hero-badges,
    .ewToolbar {
        display: none !important;
    }
    .refunds-content {
        display: block;
    }
    .refunds-card {
        box-shadow: none;
    }
}

/* ========================================================================== 
   PAYMENT PAGE
   ========================================================================== */
.payment-page {
    --payment-primary: var(--about-primary);
    --payment-primary-dark: var(--about-primary-dark);
    --payment-ink: var(--about-ink);
    --payment-muted: var(--about-muted);
    --payment-line: var(--about-line);
    color: var(--payment-ink);
}

.payment-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.7px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.payment-hero-brand {
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.payment-hero-brand .fa-shield {
    color: var(--payment-primary);
    font-size: 35px;
}

.payment-hero-brand strong {
    color: var(--payment-ink);
    font-size: 15px;
}

.payment-hero-brand span {
    color: var(--payment-muted);
    font-size: 12px;
}

.payment-customer-card {
    margin-bottom: 20px;
}

.payment-customer-card .about-card-body {
    padding-bottom: 18px;
    padding-top: 18px;
}

.payment-customer-name {
    color: var(--payment-ink);
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.payment-customer-address {
    color: var(--payment-muted);
    display: block;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 4px;
}

.payment-bill-card .about-card-header {
    gap: 14px;
}

.payment-bill-card .about-card-heading h2 {
    text-transform: none;
}

#groupbill.btn {
    background: #e8faf7;
    border: 1px solid #b7e9e1;
    border-radius: 999px;
    color: #087f73;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25px;
    padding: 7px 12px;
}

#groupbill.btn:hover,
#groupbill.btn:focus {
    background: #ddf8f3;
    color: #06685f;
}

.payment-bill-body {
    padding: 0 !important;
}

.payment-table-responsive {
    border: 0;
    margin: 0;
}

.payment-bill-table {
    margin: 0;
    width: 100%;
}

.payment-bill-table > thead > tr > td {
    background: #f6f8fc !important;
    border-bottom: 1px solid var(--payment-line);
    color: var(--payment-muted) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.55px;
    padding: 13px 22px;
    text-transform: uppercase;
}

.payment-bill-table > thead > tr > td:last-child {
    min-width: 130px !important;
    white-space: nowrap;
}

.payment-bill-table > tbody > tr > td {
    border-top: 1px solid #edf0f5;
    color: #4d596a;
    font-size: 13px;
    line-height: 1.55;
    padding: 12px 22px;
    vertical-align: middle;
}

.payment-bill-table > tbody > tr[style*="background-color"] > td {
    background: #f6f8fc !important;
    color: var(--payment-ink) !important;
}

.payment-bill-table > tbody > tr > td strong {
    color: #273347;
}

.payment-bill-table > tbody > tr > td.text-right:last-child {
    white-space: nowrap;
}

.payment-consent {
    background: #fbfcfe;
    border-top: 1px solid var(--payment-line);
    padding: 20px 22px;
}

#fpayment {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0;
}

#fpayment .pull-left,
#fpayment .pull-right {
    float: none !important;
}

#fpayment .pull-left {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

#fpayment input[type="checkbox"] {
    accent-color: var(--payment-primary);
    flex: 0 0 21px;
    height: 21px !important;
    margin: 1px 0 0 !important;
    width: 21px !important;
}

#fpayment label {
    color: #4d596a;
    font-size: 12px;
    line-height: 1.55;
}

#fpayment label a {
    color: var(--payment-primary-dark);
    font-weight: 600;
}

#fpayment .btn-primary {
    align-items: center;
    background: linear-gradient(135deg, var(--payment-primary), var(--payment-primary-dark));
    border: 0;
    border-radius: 10px;
    box-shadow: 0 7px 16px rgba(37, 99, 235, 0.22);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    min-width: 140px;
    padding: 10px 18px;
}

.payment-paid-state {
    align-items: center;
    color: #15803d;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 70px;
    text-align: center;
}

.payment-paid-state::before {
    align-items: center;
    background: #eaf8ee;
    border-radius: 50%;
    content: "\f00c";
    display: inline-flex;
    font-family: FontAwesome;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.payment-gateway-card {
    margin-top: 20px;
}

.payment-gateway-card .about-card-body {
    padding: 18px 22px;
}

.payment-gateway {
    background: #fff;
    border: 0 !important;
    display: block !important;
    height: auto !important;
    margin: 0 auto;
    max-width: 100% !important;
    padding: 0;
    width: 100% !important;
}

@media (max-width: 767px) {
    .payment-page {
        padding: 10px 10px 28px;
    }

    .payment-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 24px;
    }

    .payment-hero h1 {
        font-size: 31px;
    }

    .payment-hero-brand {
        flex-basis: auto;
        height: 100px;
        margin: 24px 0 0;
        max-width: 330px;
        width: 100%;
    }

    .payment-bill-card .about-card-header,
    .payment-bill-card .about-card-body {
        padding-left: 17px;
        padding-right: 17px;
    }

    .payment-bill-card .about-card-header {
        flex-wrap: wrap;
    }

    .payment-bill-body {
        padding: 0 !important;
    }

    .payment-bill-table > thead > tr > td,
    .payment-bill-table > tbody > tr > td {
        padding-left: 13px;
        padding-right: 13px;
    }

    .payment-consent {
        padding: 17px;
    }

    #fpayment {
        align-items: stretch;
        flex-direction: column;
    }

    #fpayment .btn-primary {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .payment-hero-badges {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-customer-card .about-card-body {
        overflow-wrap: anywhere;
    }
}

@media print {
    .payment-hero-brand,
    .payment-hero-badges,
    #fpayment,
    .payment-gateway-card,
    .ewToolbar {
        display: none !important;
    }

    .payment-page {
        max-width: none;
        padding: 0;
    }

    .payment-bill-card,
    .payment-customer-card {
        box-shadow: none;
    }
}
