/* =========================================================
   GINTISETU
   Main Website Styles
========================================================= */

:root {
    --gs-primary: #2563eb;
    --gs-primary-dark: #1d4ed8;
    --gs-primary-light: #eff6ff;

    --gs-secondary: #0f172a;

    --gs-text: #334155;
    --gs-text-dark: #0f172a;
    --gs-muted: #64748b;

    --gs-border: #e2e8f0;
    --gs-background: #f8fafc;
    --gs-white: #ffffff;

    --gs-success: #059669;
    --gs-warning: #d97706;

    --gs-radius: 16px;
    --gs-radius-small: 10px;

    --gs-shadow:
        0 8px 30px rgba(15, 23, 42, 0.06);

    --gs-shadow-hover:
        0 14px 40px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gs-background);
    color: var(--gs-text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.site-main {
    min-height: 65vh;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--gs-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-header .navbar {
    min-height: 72px;
    padding-top: 8px;
    padding-bottom: 8px;
}


/* =========================================================
   BRAND
========================================================= */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: 30px;
}

.brand-icon {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--gs-primary),
        #4f46e5
    );

    color: white;

    border-radius: 12px;

    font-size: 20px;

    box-shadow:
        0 6px 16px rgba(37, 99, 235, 0.20);
}

.brand-name {
    display: block;

    color: var(--gs-text-dark);

    font-size: 21px;
    font-weight: 800;

    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-name span,
.footer-brand span {
    color: var(--gs-primary);
}

.navbar-brand small {
    display: block;

    margin-top: 3px;

    color: var(--gs-muted);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar-nav {
    gap: 3px;
}

.navbar-nav .nav-link {
    color: #475569;

    padding: 9px 13px !important;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--gs-primary);
    background: var(--gs-primary-light);
}

.navbar-nav .nav-link.active {
    color: var(--gs-primary);
    background: var(--gs-primary-light);
}

.nav-about {
    border: 1px solid var(--gs-border);
}


/* =========================================================
   GENERAL PAGE CONTAINER
========================================================= */

.page-section {
    padding-top: 45px;
    padding-bottom: 55px;
}

.page-heading {
    margin-bottom: 28px;
}

.page-heading h1 {
    color: var(--gs-text-dark);

    font-size: clamp(28px, 4vw, 42px);

    font-weight: 800;

    letter-spacing: -1px;
}

.page-heading p {
    color: var(--gs-muted);

    max-width: 760px;

    font-size: 17px;
}


/* =========================================================
   CARDS
========================================================= */

.gs-card {
    background: var(--gs-white);

    border: 1px solid var(--gs-border);

    border-radius: var(--gs-radius);

    box-shadow: var(--gs-shadow);
}

.tool-card,
.category-card {
    height: 100%;

    background: var(--gs-white);

    border: 1px solid var(--gs-border);

    border-radius: var(--gs-radius);

    padding: 22px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.tool-card:hover,
.category-card:hover {
    transform: translateY(-3px);

    border-color: #bfdbfe;

    box-shadow: var(--gs-shadow-hover);
}


/* =========================================================
   FORMS
========================================================= */

.form-label {
    color: var(--gs-text-dark);

    font-size: 14px;

    font-weight: 650;

    margin-bottom: 7px;
}

.form-control,
.form-select {
    min-height: 48px;

    border: 1px solid #cbd5e1;

    border-radius: var(--gs-radius-small);

    padding: 10px 13px;

    color: var(--gs-text-dark);

    background-color: white;

    font-size: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: #60a5fa;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
    background: var(--gs-primary);

    border-color: var(--gs-primary);

    border-radius: var(--gs-radius-small);

    min-height: 46px;

    padding-left: 20px;
    padding-right: 20px;

    font-weight: 650;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gs-primary-dark);
    border-color: var(--gs-primary-dark);
}


/* =========================================================
   RESULTS
========================================================= */

.result-card {
    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #ffffff
        );

    border: 1px solid #bfdbfe;

    border-radius: var(--gs-radius);

    padding: 22px;
}

.result-label {
    color: var(--gs-muted);

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}

.result-value {
    color: var(--gs-text-dark);

    font-size: clamp(23px, 4vw, 32px);

    font-weight: 800;

    line-height: 1.2;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    margin-bottom: 20px;

    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--gs-primary);
}

.breadcrumb-item.active {
    color: var(--gs-muted);
}


/* =========================================================
   ADSENSE PLACEHOLDER
========================================================= */

.ad-slot {
    width: 100%;

    min-height: 120px;

    margin: 30px 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f8fafc;

    border: 1px dashed #cbd5e1;

    border-radius: 12px;

    color: #94a3b8;

    font-size: 11px;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}


/*
   IMPORTANT:
   Actual Google AdSense code will be added later.
   This class only reserves suitable layout space.
*/


/* =========================================================
   ARTICLE / SEO CONTENT
========================================================= */

.content-card {
    background: white;

    border: 1px solid var(--gs-border);

    border-radius: var(--gs-radius);

    padding: clamp(20px, 4vw, 32px);

    margin-bottom: 25px;
}

.content-card h2 {
    color: var(--gs-text-dark);

    margin-top: 5px;
    margin-bottom: 16px;

    font-size: 24px;
    font-weight: 750;
}

.content-card h3 {
    color: var(--gs-text-dark);

    margin-top: 24px;
    margin-bottom: 12px;

    font-size: 19px;
    font-weight: 700;
}

.content-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 50px;

    padding-top: 55px;

    background: #0f172a;

    color: #cbd5e1;
}

.footer-brand {
    margin-bottom: 14px;

    color: white;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.6px;
}

.footer-description {
    max-width: 360px;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.7;
}

.footer-note {
    color: #64748b;

    font-size: 13px;
}

.site-footer h6 {
    margin-bottom: 16px;

    color: white;

    font-size: 14px;
    font-weight: 700;
}

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #94a3b8;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 40px;

    padding: 22px 0;

    border-top: 1px solid #1e293b;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #64748b;

    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 66px;
    }

    .navbar-collapse {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 4px;
    }

    .navbar-nav .nav-link {
        padding: 10px 12px !important;
    }

    .nav-about {
        border: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    body {
        font-size: 15px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-icon {
        width: 39px;
        height: 39px;

        border-radius: 10px;

        font-size: 18px;
    }

    .brand-name {
        font-size: 19px;
    }

    .navbar-brand small {
        font-size: 9px;
    }

    .page-section {
        padding-top: 28px;
        padding-bottom: 38px;
    }

    .page-heading {
        margin-bottom: 20px;
    }

    .page-heading p {
        font-size: 15px;
    }

    .tool-card,
    .category-card {
        padding: 18px;
    }

    .content-card {
        border-radius: 13px;
    }

    .ad-slot {
        min-height: 100px;

        margin-top: 24px;
        margin-bottom: 24px;
    }

    .site-footer {
        margin-top: 35px;

        padding-top: 40px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 6px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .brand-name {
        font-size: 17px;
    }

    .navbar-brand {
        gap: 8px;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
    }

}

/* =========================================================
   HOMEPAGE HERO
========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;

    padding: 75px 0 70px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #ffffff 50%,
            #f8fafc 100%
        );

    border-bottom: 1px solid var(--gs-border);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 12px;

    margin-bottom: 20px;

    background: white;

    border: 1px solid #bfdbfe;
    border-radius: 50px;

    color: var(--gs-primary);

    font-size: 13px;
    font-weight: 700;
}

.home-hero h1 {
    max-width: 690px;

    margin-bottom: 20px;

    color: var(--gs-text-dark);

    font-size: clamp(37px, 5vw, 62px);
    font-weight: 850;

    line-height: 1.08;

    letter-spacing: -2px;
}

.home-hero h1 span {
    color: var(--gs-primary);
}

.hero-text {
    max-width: 650px;

    margin-bottom: 28px;

    color: var(--gs-muted);

    font-size: 18px;
    line-height: 1.75;
}


/* Search */

.hero-search-wrap {
    position: relative;

    max-width: 610px;
}

.hero-search-wrap > i {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 18px;

    z-index: 2;
}

.hero-search-wrap .form-control {
    height: 58px;

    padding-left: 50px;
    padding-right: 18px;

    border-radius: 15px;

    border-color: #cbd5e1;

    background: white;

    font-size: 16px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.07);
}

.hero-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px 13px;

    margin-top: 15px;

    font-size: 13px;
}

.hero-popular span {
    color: var(--gs-muted);

    font-weight: 600;
}

.hero-popular a {
    color: #475569;

    font-weight: 650;
}

.hero-popular a:hover {
    color: var(--gs-primary);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.13),
            rgba(79, 70, 229, 0.05)
        );
}

.hero-calculator-icon {
    position: relative;
    z-index: 2;

    width: 170px;
    height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 40px;

    background:
        linear-gradient(
            145deg,
            var(--gs-primary),
            #4f46e5
        );

    color: white;

    font-size: 78px;

    box-shadow:
        0 25px 60px rgba(37, 99, 235, 0.25);

    transform: rotate(-4deg);
}

.hero-mini-card {
    position: absolute;
    z-index: 3;

    min-width: 145px;

    padding: 13px 16px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--gs-border);

    border-radius: 13px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.10);
}

.hero-mini-card span {
    display: block;

    color: var(--gs-muted);

    font-size: 11px;
    font-weight: 600;
}

.hero-mini-card strong {
    display: block;

    margin-top: 2px;

    color: var(--gs-text-dark);

    font-size: 19px;
}

.hero-mini-card-one {
    top: 25px;
    left: 15px;
}

.hero-mini-card-two {
    bottom: 23px;
    right: 10px;
}

.hero-mini-card-three {
    top: 80px;
    right: 0;
}


/* =========================================================
   HOME SECTIONS
========================================================= */

.home-section {
    padding: 70px 0;
}

.home-section-light {
    background: white;

    border-top: 1px solid var(--gs-border);
    border-bottom: 1px solid var(--gs-border);
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.text-center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 38px;
}

.section-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--gs-primary);font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 9px;

    color: var(--gs-text-dark);

    font-size: clamp(27px, 4vw, 38px);

    font-weight: 800;

    letter-spacing: -0.7px;
}

.section-heading p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 16px;
}


/* =========================================================
   CATEGORY CARDS
========================================================= */

.home-category-card {
    display: block;
    height: 100%;

    padding: 25px;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 18px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.home-category-card:hover {
    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow: var(--gs-shadow-hover);
}

.category-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--gs-primary-light);

    color: var(--gs-primary);

    font-size: 23px;
}

.home-category-card h3 {
    margin-bottom: 9px;

    color: var(--gs-text-dark);

    font-size: 18px;
    font-weight: 750;
}

.home-category-card p {
    min-height: 69px;

    margin-bottom: 17px;

    color: var(--gs-muted);

    font-size: 14px;
    line-height: 1.65;
}

.category-link {
    color: var(--gs-primary);

    font-size: 13px;
    font-weight: 700;
}

.category-link i {
    margin-left: 4px;

    transition: margin-left .2s ease;
}

.home-category-card:hover .category-link i {
    margin-left: 8px;
}


/* =========================================================
   TOOL CARDS
========================================================= */

.home-tool-card {
    display: flex;

    height: 100%;

    gap: 17px;

    padding: 22px;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 17px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.home-tool-card:hover {
    transform: translateY(-3px);

    border-color: #bfdbfe;

    box-shadow: var(--gs-shadow);
}

.tool-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gs-primary-light);

    border-radius: 12px;

    color: var(--gs-primary);

    font-size: 21px;
}

.tool-card-content {
    min-width: 0;
}

.tool-category {
    display: block;

    margin-bottom: 5px;

    color: var(--gs-muted);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.home-tool-card h3 {
    margin-bottom: 7px;

    color: var(--gs-text-dark);

    font-size: 17px;
    font-weight: 750;
}

.home-tool-card p {
    margin-bottom: 11px;

    color: var(--gs-muted);

    font-size: 13px;
    line-height: 1.6;
}

.tool-open {
    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   SEARCH EMPTY STATE
========================================================= */

.no-tool-results {
    padding: 45px 20px;

    text-align: center;
}

.no-tool-results i {
    display: block;

    margin-bottom: 12px;

    color: #94a3b8;

    font-size: 34px;
}

.no-tool-results h3 {
    color: var(--gs-text-dark);

    font-size: 18px;
}

.no-tool-results p {
    color: var(--gs-muted);
}


/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-card {
    height: 100%;

    padding: 27px;

    text-align: center;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 17px;
}

.feature-icon {
    width: 54px;
    height: 54px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gs-primary-light);

    color: var(--gs-primary);

    font-size: 23px;
}

.feature-card h3 {
    margin-bottom: 8px;

    color: var(--gs-text-dark);

    font-size: 18px;
    font-weight: 750;
}

.feature-card p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 14px;
}


/* =========================================================
   INFO BOX
========================================================= */

.home-info-box {
    display: flex;

    gap: 18px;

    margin: 10px 0 60px;

    padding: 25px;

    background: #fffbeb;

    border: 1px solid #fde68a;

    border-radius: 16px;
}

.home-info-icon {
    flex-shrink: 0;

    color: #d97706;

    font-size: 24px;
}

.home-info-box h2 {
    margin-bottom: 7px;

    color: #78350f;

    font-size: 17px;
    font-weight: 750;
}

.home-info-box p {
    margin: 0;

    color: #92400e;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.home-cta {
    padding: 35px 0 0;
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 38px 42px;

    margin-bottom: -20px;

    position: relative;
    z-index: 2;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #4f46e5
        );

    border-radius: 22px;

    color: white;

    box-shadow:
        0 18px 45px rgba(37, 99, 235, 0.20);
}

.home-cta-inner > div > span {
    display: block;

    margin-bottom: 6px;

    color: #bfdbfe;

    font-size: 12px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.home-cta h2 {
    margin-bottom: 6px;

    font-size: clamp(23px, 4vw, 31px);

    font-weight: 800;
}

.home-cta p {
    margin: 0;

    color: #dbeafe;

    font-size: 14px;
}

.home-cta .btn {
    flex-shrink: 0;

    color: #1d4ed8;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   HOMEPAGE TABLET
========================================================= */

@media (max-width: 991.98px) {

    .home-hero {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-calculator-icon {
        width: 145px;
        height: 145px;

        font-size: 65px;
    }

    .hero-mini-card-one {
        left: 15%;
    }

    .hero-mini-card-three {
        right: 12%;
    }

    .hero-mini-card-two {
        right: 18%;
    }

}


/* =========================================================
   HOMEPAGE MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .home-hero {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .home-hero h1 {
        letter-spacing: -1.2px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-search-wrap .form-control {
        height: 54px;
    }

    .hero-visual {
        display: none;
    }

    .home-section {
        padding: 48px 0;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .home-category-card {
        padding: 20px;
    }

    .home-category-card p {
        min-height: auto;
    }

    .home-tool-card {
        padding: 18px;
    }

    .home-info-box {
        margin-bottom: 40px;

        padding: 20px;
    }

    .home-cta {
        padding-top: 20px;
    }

    .home-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px 23px;

        border-radius: 17px;
    }

    .home-cta .btn {
        width: 100%;
    }

}


/* =========================================================
   TOOL PAGE
========================================================= */

.tool-page {
    padding: 35px 0 55px;
}

.tool-page-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin-bottom: 28px;
}

.tool-page-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gs-primary-light);

    color: var(--gs-primary);

    border: 1px solid #dbeafe;
    border-radius: 15px;

    font-size: 26px;
}

.tool-page-category {
    display: block;

    margin-bottom: 5px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 750;

    letter-spacing: .5px;
    text-transform: uppercase;
}

.tool-page-header h1 {
    margin-bottom: 8px;

    color: var(--gs-text-dark);

    font-size: clamp(27px, 4vw, 40px);
    font-weight: 820;

    line-height: 1.2;
    letter-spacing: -1px;
}

.tool-page-header p {
    max-width: 800px;

    margin: 0;

    color: var(--gs-muted);

    font-size: 15px;
}


/* Calculator wrapper */

.calculator-shell {
    padding: clamp(18px, 3vw, 30px);

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 19px;

    box-shadow: var(--gs-shadow);
}


/* Prevent calculator content overflow */

.calculator-shell input,
.calculator-shell select,
.calculator-shell textarea,
.calculator-shell button {
    max-width: 100%;
}

.calculator-shell table {
    width: 100%;
}


/* Content */

.tool-content-card {
    margin-bottom: 22px;

    padding: clamp(20px, 3vw, 30px);

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 16px;
}

.tool-content-card h2 {
    margin-bottom: 13px;

    color: var(--gs-text-dark);

    font-size: 22px;
    font-weight: 760;
}

.tool-content-card p {
    margin-bottom: 0;

    color: var(--gs-text);

    line-height: 1.8;
}


/* Instructions */

.tool-instructions {
    margin: 0;
    padding-left: 22px;
}

.tool-instructions li {
    margin-bottom: 9px;
}

.tool-instructions li:last-child {
    margin-bottom: 0;
}


/* Related calculators */

.related-tools {
    margin: 40px 0;
}

.related-tools-heading {
    margin-bottom: 22px;
}

.related-tools-heading > span {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-primary);

    font-size: 11px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .6px;
}

.related-tools-heading h2 {
    margin: 0;

    color: var(--gs-text-dark);

    font-size: 25px;
    font-weight: 780;
}

.related-tool-card {
    display: block;

    height: 100%;

    padding: 20px;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.related-tool-card:hover {
    transform: translateY(-3px);

    border-color: #bfdbfe;

    box-shadow: var(--gs-shadow);
}

.related-tool-icon {
    width: 42px;
    height: 42px;

    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gs-primary-light);

    color: var(--gs-primary);

    border-radius: 11px;

    font-size: 18px;
}

.related-tool-card h3 {
    margin-bottom: 11px;

    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 720;
}

.related-tool-card > span {
    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 700;
}


/* Disclaimer */

.tool-disclaimer {
    display: flex;

    gap: 14px;

    padding: 20px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);

    border-radius: 14px;
}

.tool-disclaimer > i {
    flex-shrink: 0;

    color: var(--gs-primary);

    font-size: 20px;
}

.tool-disclaimer strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 13px;
}

.tool-disclaimer p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   MOBILE TOOL PAGE
========================================================= */

@media (max-width: 767.98px) {

    .tool-page {
        padding-top: 22px;
        padding-bottom: 40px;
    }

    .tool-page-header {
        gap: 13px;

        margin-bottom: 20px;
    }

    .tool-page-icon {
        width: 45px;
        height: 45px;

        border-radius: 12px;

        font-size: 20px;
    }

    .tool-page-header h1 {
        letter-spacing: -.5px;
    }

    .calculator-shell {
        padding: 16px;

        border-radius: 15px;
    }

    .tool-content-card {
        padding: 19px;

        border-radius: 14px;
    }

    .related-tools {
        margin-top: 32px;
        margin-bottom: 32px;
    }

}

/* =========================================================
   GINTISETU CALCULATOR DESIGN SYSTEM
========================================================= */

/* Remove unnecessary nested card appearance */
.calculator-shell .card {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.calculator-shell .card-body {
    padding: 0;
}


/* Calculator section headings */
.calculator-shell h2,
.calculator-shell h3,
.calculator-shell h4 {
    color: var(--gs-text-dark);
    font-weight: 750;
}

.calculator-shell h3 {
    font-size: 19px;
}

.calculator-shell h4 {
    font-size: 16px;
}


/* =========================================================
   INPUT AREA
========================================================= */

.calculator-form {
    padding: 24px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.calculator-form-title {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: var(--gs-text-dark);

    font-size: 17px;
    font-weight: 750;
}

.calculator-form-title i {
    color: var(--gs-primary);
}


/* Labels */

.calculator-shell .form-label {
    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;
    font-weight: 700;
}


/* Inputs */

.calculator-shell .form-control,
.calculator-shell .form-select {
    width: 100%;
    min-height: 50px;

    padding: 11px 13px;

    background: white;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    color: var(--gs-text-dark);

    font-size: 15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.calculator-shell .form-control:hover,
.calculator-shell .form-select:hover {
    border-color: #94a3b8;
}

.calculator-shell .form-control:focus,
.calculator-shell .form-select:focus {
    background: white;

    border-color: var(--gs-primary);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* Input group */

.calculator-shell .input-group-text {
    min-width: 48px;

    justify-content: center;background: #f1f5f9;

    border-color: #cbd5e1;

    color: #475569;

    font-weight: 650;
}


/* Help text */

.calculator-shell .form-text {
    margin-top: 6px;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   CALCULATE BUTTON
========================================================= */

.calculator-shell .btn-primary {
    min-height: 50px;

    padding: 11px 22px;

    border: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--gs-primary),
            #4f46e5
        );

    color: white;

    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 7px 16px rgba(37, 99, 235, .16);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

@media (hover: hover) and (pointer: fine) {

    .calculator-shell .btn-primary:hover {
        transform: translateY(-1px);

        box-shadow:
            0 10px 22px rgba(37, 99, 235, .22);
    }

}


/* Secondary buttons */

.calculator-shell .btn-outline-secondary {
    min-height: 48px;

    border-color: #cbd5e1;

    border-radius: 10px;

    color: #475569;

    font-weight: 650;
}


/* =========================================================
   RESULT AREA
========================================================= */

.calculator-result {
    height: 100%;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #ffffff 75%
        );

    border: 1px solid #bfdbfe;

    border-radius: 15px;
}

.calculator-result-title {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: var(--gs-text-dark);

    font-size: 17px;
    font-weight: 750;
}

.calculator-result-title i {
    color: var(--gs-primary);
}


/* Main highlighted result */

.result-primary {
    margin-bottom: 20px;

    padding: 19px;

    background: white;

    border: 1px solid #dbeafe;

    border-radius: 13px;
}

.result-primary-label {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-muted);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.result-primary-value {
    display: block;

    color: var(--gs-primary-dark);

    font-size: clamp(27px, 5vw, 36px);
    font-weight: 850;

    line-height: 1.2;

    overflow-wrap: anywhere;
}


/* Secondary result rows */

.result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 0;

    border-bottom: 1px solid #dbeafe;
}

.result-row:last-child {
    border-bottom: 0;
}

.result-row span:first-child {
    color: var(--gs-muted);

    font-size: 13px;
}

.result-row strong,
.result-row span:last-child {
    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 750;

    text-align: right;

    overflow-wrap: anywhere;
}


/* =========================================================
   CALCULATOR GRID
========================================================= */

.calculator-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 25px;
}

.calculator-grid > * {
    min-width: 0;
}


/* =========================================================
   BADGES
========================================================= */

.calc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-bottom: 17px;

    padding: 6px 10px;

    background: #fff7ed;

    border: 1px solid #fed7aa;

    border-radius: 50px;

    color: #9a3412;

    font-size: 11px;
    font-weight: 750;
}


/* =========================================================
   SMALL NOTICE
========================================================= */

.calc-note {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 18px;

    padding: 12px 14px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);

    border-radius: 10px;

    color: var(--gs-muted);

    font-size: 12px;

    line-height: 1.6;
}

.calc-note i {
    flex-shrink: 0;

    margin-top: 1px;

    color: var(--gs-primary);
}


/* =========================================================
   RANGE INPUT
========================================================= */

.calculator-shell input[type="range"] {
    width: 100%;

    accent-color: var(--gs-primary);
}


/* =========================================================
   RADIO / CHECKBOX
========================================================= */

.calculator-shell .form-check {
    margin-bottom: 8px;
}

.calculator-shell .form-check-input {
    cursor: pointer;
}

.calculator-shell .form-check-input:checked {
    background-color: var(--gs-primary);
    border-color: var(--gs-primary);
}

.calculator-shell .form-check-label {
    color: #475569;

    cursor: pointer;

    font-size: 14px;
}


/* =========================================================
   TABLES INSIDE CALCULATORS
========================================================= */

.calculator-shell .table-responsive {
    border: 1px solid var(--gs-border);

    border-radius: 12px;

    overflow-x: auto;
}

.calculator-shell .table {
    margin-bottom: 0;

    font-size: 13px;
}

.calculator-shell .table th {
    white-space: nowrap;

    background: #f8fafc;

    color: var(--gs-text-dark);

    font-weight: 700;
}


/* =========================================================
   ALERTS
========================================================= */

.calculator-shell .alert {
    border-radius: 11px;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .calculator-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .calculator-form,
    .calculator-result {
        padding: 17px;
    }

    .calculator-shell .form-control,
    .calculator-shell .form-select {
        /*
         * 16px prevents unwanted input zoom
         * on many mobile browsers.
         */
        font-size: 16px;

        min-height: 49px;
    }

    .calculator-shell .btn-primary {
        width: 100%;

        min-height: 50px;
    }

    .result-primary {
        padding: 16px;
    }

    .result-row {
        align-items: flex-start;

        gap: 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .calculator-shell {
        padding: 13px;
    }

    .calculator-form,
    .calculator-result {
        padding: 15px;
    }

    .result-primary-value {
        font-size: 26px;
    }

}

/* =========================================================
   8TH CPC CALCULATOR
========================================================= */

.eighth-cpc-calculator {
    width: 100%;
}


/* Warning */

.calc-estimate-warning {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 24px;

    padding: 14px;

    background: #fffbeb;

    border: 1px solid #fde68a;

    border-radius: 11px;

    color: #92400e;
}

.calc-estimate-warning > i {
    flex-shrink: 0;

    margin-top: 2px;

    color: #d97706;

    font-size: 17px;
}

.calc-estimate-warning strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.calc-estimate-warning p {
    margin: 0;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   RESULT DIVIDER
========================================================= */

.result-divider {
    height: 1px;

    margin: 12px 0;

    background: #bfdbfe;
}


/* =========================================================
   GROSS RESULT
========================================================= */

.gross-result {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 20px;

    padding: 18px;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #4f46e5
        );

    border-radius: 13px;

    color: white;
}

.gross-result span {
    display: block;

    margin-bottom: 2px;

    color: #dbeafe;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.gross-result small {
    display: block;

    color: #bfdbfe;

    font-size: 11px;
}

.gross-result strong {
    flex-shrink: 0;

    color: white;

    font-size: clamp(23px, 4vw, 30px);

    font-weight: 850;

    text-align: right;

    overflow-wrap: anywhere;
}


/* Result note */

.calc-result-note {
    display: flex;

    gap: 9px;

    margin-top: 18px;

    padding: 13px;

    background: rgba(255,255,255,.70);

    border: 1px solid #dbeafe;

    border-radius: 10px;
}

.calc-result-note > i {
    flex-shrink: 0;

    margin-top: 2px;

    color: var(--gs-primary);

    font-size: 15px;
}

.calc-result-note p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   INFORMATION SECTIONS
========================================================= */

.calc-info-section {
    margin-top: 45px;
}

.calc-section-heading {
    margin-bottom: 20px;
}

.calc-section-heading > span {
    display: block;

    margin-bottom: 5px;

    color: var(--gs-primary);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.calc-section-heading h2 {
    margin-bottom: 8px;

    color: var(--gs-text-dark);

    font-size: clamp(21px, 3vw, 27px);

    font-weight: 780;

    letter-spacing: -.4px;
}

.calc-section-heading p {
    max-width: 800px;

    margin: 0;

    color: var(--gs-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FORMULA CARD
========================================================= */

.formula-card {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1px;

    overflow: hidden;

    background: var(--gs-border);

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.formula-row {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 20px;

    background: white;
}

.formula-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gs-primary-light);

    border-radius: 10px;

    color: var(--gs-primary);

    font-size: 17px;
}

.formula-row strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 13px;
}

.formula-row span {
    display: block;

    color: var(--gs-muted);

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   OFFICIAL STATUS
========================================================= */

.official-status-box {
    display: flex;

    gap: 18px;

    padding: 24px;

    background: #fff7ed;

    border: 1px solid #fed7aa;

    border-radius: 15px;
}

.official-status-icon {
    width: 47px;
    height: 47px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border: 1px solid #fed7aa;

    border-radius: 12px;

    color: #c2410c;

    font-size: 21px;
}

.official-status-box h2 {
    margin-bottom: 8px;

    color: #7c2d12;

    font-size: 19px;

    font-weight: 750;
}

.official-status-box p {
    color: #9a3412;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   FAQ
========================================================= */

.calculator-faq {
    overflow: hidden;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.calculator-faq .accordion-item {
    border: 0;

    border-bottom: 1px solid var(--gs-border);
}

.calculator-faq .accordion-item:last-child {
    border-bottom: 0;
}

.calculator-faq .accordion-button {
    padding: 17px 19px;

    background: white;

    color: var(--gs-text-dark);

    font-size: 14px;

    font-weight: 700;

    box-shadow: none;
}

.calculator-faq .accordion-button:not(.collapsed) {
    background: var(--gs-primary-light);

    color: var(--gs-primary-dark);
}

.calculator-faq .accordion-button:focus {
    box-shadow: none;
}

.calculator-faq .accordion-body {
    padding: 17px 19px;

    color: var(--gs-text);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   UPDATE INFORMATION
========================================================= */

.calculator-update-info {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    margin-top: 35px;

    padding-top: 17px;

    border-top: 1px solid var(--gs-border);

    color: var(--gs-muted);

    font-size: 11px;

    line-height: 1.65;
}

.calculator-update-info i {
    flex-shrink: 0;

    margin-top: 2px;

    color: var(--gs-primary);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .calc-info-section {
        margin-top: 34px;
    }

    .formula-card {
        grid-template-columns: 1fr;
    }

    .formula-row {
        padding: 16px;
    }

    .official-status-box {
        gap: 13px;

        padding: 18px;
    }

    .official-status-icon {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .gross-result {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

    .gross-result strong {
        text-align: left;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .calc-estimate-warning {
        padding: 12px;
    }

    .official-status-box {
        flex-direction: column;
    }

}

/* =========================================================
   FIX BOOTSTRAP INPUT GROUP ALIGNMENT
========================================================= */

.calculator-shell .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}


/* Prefix / suffix box */
.calculator-shell .input-group > .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 48px;
    min-height: 50px;

    margin: 0;

    padding: 0 14px;

    background: #f1f5f9;

    border: 1px solid #cbd5e1;

    color: #334155;

    font-weight: 700;

    line-height: 1;
}


/* Input inside input-group */
.calculator-shell .input-group > .form-control {
    min-width: 0;
    min-height: 50px;

    margin: 0;
}


/* Prefix such as ₹ */
.calculator-shell .input-group > .input-group-text:first-child {
    border-radius: 10px 0 0 10px;
}


/* Input after prefix */
.calculator-shell .input-group > .input-group-text:first-child + .form-control {
    border-left: 0;

    border-radius: 0 10px 10px 0;
}


/* Input before suffix such as % */.calculator-shell .input-group > .form-control:not(:last-child) {
    border-radius: 10px 0 0 10px;
}


/* Suffix such as % */
.calculator-shell .input-group > .form-control + .input-group-text {
    border-left: 0;

    border-radius: 0 10px 10px 0;
}


/* Keep focus appearance clean */
.calculator-shell .input-group:focus-within > .input-group-text {
    border-color: var(--gs-primary);
}

.calculator-shell .input-group:focus-within > .form-control {
    border-color: var(--gs-primary);

    box-shadow: none;
}

.calculator-shell .input-group:focus-within {
    border-radius: 10px;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

/* =========================================================
   EMI DONUT CHART
========================================================= */

.emi-chart-card {
    margin: 22px 0;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #dbeafe;

    border-radius: 14px;
}

.emi-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;
}

.emi-chart-header > i {
    color: var(--gs-primary);

    font-size: 22px;
}

.emi-chart-label {
    display: block;

    margin-bottom: 2px;

    color: var(--gs-muted);

    font-size: 10px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .5px;
}

.emi-chart-header h3 {
    margin: 0;

    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 750;
}


/* Chart layout */

.emi-chart-layout {
    display: grid;

    grid-template-columns:
        minmax(145px, 180px)
        minmax(0, 1fr);

    align-items: center;

    gap: 28px;
}


/* =========================================================
   DONUT
========================================================= */

.emi-donut-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emi-donut {
    --principal-share: 50%;

    position: relative;

    width: 165px;
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--gs-primary) 0 var(--principal-share),
            #f59e0b var(--principal-share) 100%
        );

    transition: background .35s ease;
}


/* White center creates donut */

.emi-donut::after {
    content: "";

    position: absolute;

    width: 112px;
    aspect-ratio: 1;

    background: white;

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 1px #eff6ff;
}


/* Text in center */

.emi-donut-center {
    position: relative;

    z-index: 2;

    width: 95px;

    text-align: center;
}

.emi-donut-center span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
    font-weight: 650;
}

.emi-donut-center strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.2;

    overflow-wrap: anywhere;
}


/* =========================================================
   LEGEND
========================================================= */

.emi-chart-legend {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.emi-legend-item {
    display: flex;
    align-items: flex-start;

    gap: 11px;
}

.emi-legend-color {
    width: 11px;
    height: 11px;

    flex-shrink: 0;

    margin-top: 5px;

    border-radius: 50%;
}

.emi-legend-color.principal {
    background: var(--gs-primary);
}

.emi-legend-color.interest {
    background: #f59e0b;
}

.emi-legend-item > div {
    min-width: 0;
}

.emi-legend-item div > span {
    display: block;

    color: var(--gs-muted);

    font-size: 11px;
}

.emi-legend-item strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 750;

    overflow-wrap: anywhere;
}

.emi-legend-item small {
    display: block;

    margin-top: 1px;

    color: var(--gs-muted);

    font-size: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .emi-chart-card {
        padding: 17px;
    }

    .emi-chart-layout {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .emi-donut {
        width: 155px;
    }

    .emi-donut::after {
        width: 104px;
    }

    .emi-chart-legend {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

}
/* =========================================================
   EMI CALCULATOR
========================================================= */

.emi-calculator {
    width: 100%;
}


/* =========================================================
   TOTAL REPAYMENT
========================================================= */

.emi-total-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;

    padding: 17px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e3a8a
        );

    border-radius: 13px;

    color: white;
}

.emi-total-payment span {
    display: block;

    color: #dbeafe;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.emi-total-payment small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 10px;
}

.emi-total-payment strong {
    flex-shrink: 0;

    color: white;

    font-size: clamp(21px, 4vw, 28px);

    font-weight: 850;

    text-align: right;

    overflow-wrap: anywhere;
}


/* =========================================================
   DATA TABLE
========================================================= */

.emi-data-table {
    overflow: hidden;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.emi-data-table .table-responsive {
    border: 0;

    border-radius: 0;
}

.emi-data-table .table {
    margin: 0;
}

.emi-data-table thead th {
    padding: 14px 17px;

    background: #f8fafc;

    border-bottom: 1px solid var(--gs-border);

    color: #475569;

    font-size: 11px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.emi-data-table tbody td {
    padding: 15px 17px;

    border-color: #f1f5f9;

    color: var(--gs-text);

    font-size: 13px;
}

.emi-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.emi-table-total td {
    background: #f8fafc;

    color: var(--gs-text-dark) !important;

    font-weight: 750;
}


/* Table dots */

.emi-table-dot {
    display: inline-block;

    width: 9px;
    height: 9px;

    margin-right: 7px;

    border-radius: 50%;
}

.emi-table-dot.principal {
    background: var(--gs-primary);
}

.emi-table-dot.interest {
    background: #f59e0b;
}


/* =========================================================
   EMI FORMULA
========================================================= */

.emi-formula-box {
    display: grid;

    grid-template-columns:
        minmax(260px, .8fr)
        minmax(0, 1.2fr);

    overflow: hidden;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.emi-formula-main {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 180px;

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #ffffff
        );

    border-right: 1px solid var(--gs-border);

    color: var(--gs-text-dark);
}

.emi-formula-main > span {
    color: var(--gs-primary);

    font-size: 20px;

    font-weight: 800;
}

.emi-formula-main strong {
    text-align: center;

    font-size: 16px;

    font-weight: 750;

    line-height: 1.4;
}

.emi-formula-line {
    display: inline-block;

    width: 100%;

    height: 1px;

    background: #64748b;
}

.emi-formula-details {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: center;

    padding: 25px;
}

.emi-formula-details > div {
    padding: 15px;

    text-align: center;
}

.emi-formula-details strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin: 0 auto 8px;

    background: var(--gs-primary-light);

    border-radius: 10px;

    color: var(--gs-primary);

    font-size: 18px;
}

.emi-formula-details span {
    color: var(--gs-muted);

    font-size: 11px;
}


/* =========================================================
   EMI EXAMPLE
========================================================= */

.emi-example-card {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    overflow: hidden;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.emi-example-card > div {
    padding: 21px;

    text-align: center;

    border-right: 1px solid var(--gs-border);
}

.emi-example-card > div:last-child {
    border-right: 0;
}

.emi-example-card span {
    display: block;

    margin-bottom: 5px;

    color: var(--gs-muted);

    font-size: 11px;

    font-weight: 650;
}

.emi-example-card strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 17px;

    font-weight: 800;
}

.emi-example-text {
    margin-top: 15px;
    margin-bottom: 0;

    color: var(--gs-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .emi-total-payment {
        align-items: flex-start;

        flex-direction: column;

        gap: 6px;
    }

    .emi-total-payment strong {
        text-align: left;
    }


    .emi-formula-box {
        grid-template-columns: 1fr;
    }

    .emi-formula-main {
        min-height: auto;

        border-right: 0;

        border-bottom: 1px solid var(--gs-border);
    }

    .emi-formula-details {
        grid-template-columns: 1fr;

        padding: 12px;
    }

    .emi-formula-details > div {
        display: flex;
        align-items: center;

        gap: 12px;

        padding: 10px;

        text-align: left;
    }

    .emi-formula-details strong {
        flex-shrink: 0;

        margin: 0;
    }


    .emi-example-card {
        grid-template-columns: 1fr;
    }

    .emi-example-card > div {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 20px;

        padding: 15px 17px;

        border-right: 0;

        border-bottom: 1px solid var(--gs-border);

        text-align: left;
    }

    .emi-example-card > div:last-child {
        border-bottom: 0;
    }

    .emi-example-card span,
    .emi-example-card strong {
        margin: 0;
    }

}
/* =========================================================
   SIP CALCULATOR
========================================================= */

.sip-calculator {
    width: 100%;
}


/* =========================================================
   SIP DONUT CARD
========================================================= */

.sip-chart-card {
    margin: 22px 0;

    padding: 20px;

    background: white;

    border: 1px solid #dbeafe;

    border-radius: 14px;
}

.sip-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;
}

.sip-chart-header > div > span {
    display: block;

    margin-bottom: 2px;

    color: var(--gs-muted);

    font-size: 10px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .5px;
}

.sip-chart-header h3 {
    margin: 0;

    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 750;
}

.sip-chart-header > i {
    color: var(--gs-primary);

    font-size: 22px;
}


/* Chart */

.sip-chart-layout {
    display: grid;

    grid-template-columns:
        minmax(145px, 180px)
        minmax(0, 1fr);

    align-items: center;

    gap: 28px;
}

.sip-donut-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sip-donut {
    --invested-share: 50%;

    position: relative;

    width: 165px;
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        conic-gradient(
            #2563eb 0 var(--invested-share),
            #16a34a var(--invested-share) 100%
        );

    transition: background .35s ease;
}

.sip-donut::after {
    content: "";

    position: absolute;

    width: 112px;
    aspect-ratio: 1;

    background: white;

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 1px #eff6ff;
}

.sip-donut-center {
    position: relative;

    z-index: 2;

    width: 96px;

    text-align: center;
}

.sip-donut-center span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
    font-weight: 650;
}

.sip-donut-center strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.2;

    overflow-wrap: anywhere;
}


/* =========================================================
   LEGEND
========================================================= */

.sip-chart-legend {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.sip-legend-item {
    display: flex;
    align-items: flex-start;

    gap: 11px;
}

.sip-legend-color {
    width: 11px;
    height: 11px;

    flex-shrink: 0;

    margin-top: 5px;

    border-radius: 50%;
}

.sip-legend-color.invested {
    background: #2563eb;
}

.sip-legend-color.returns {
    background: #16a34a;
}

.sip-legend-item > div {
    min-width: 0;
}

.sip-legend-item div > span {
    display: block;

    color: var(--gs-muted);

    font-size: 11px;
}

.sip-legend-item strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 750;

    overflow-wrap: anywhere;
}

.sip-legend-item small {
    display: block;

    margin-top: 1px;

    color: var(--gs-muted);

    font-size: 10px;
}


/* =========================================================
   MATURITY HIGHLIGHT
========================================================= */

.sip-maturity-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;

    padding: 17px;

    background:
        linear-gradient(
            135deg,
            #14532d,
            #15803d
        );

    border-radius: 13px;

    color: white;
}

.sip-maturity-highlight span {
    display: block;

    color: #dcfce7;

    font-size: 11px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.sip-maturity-highlight small {
    display: block;

    margin-top: 2px;

    color: #bbf7d0;font-size: 10px;
}

.sip-maturity-highlight strong {
    flex-shrink: 0;

    color: white;

    font-size: clamp(21px, 4vw, 28px);

    font-weight: 850;

    text-align: right;

    overflow-wrap: anywhere;
}


/* =========================================================
   TABLES
========================================================= */

.sip-data-table {
    overflow: hidden;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.sip-data-table .table {
    margin: 0;
}

.sip-data-table thead th {
    padding: 14px 17px;

    background: #f8fafc;

    border-bottom: 1px solid var(--gs-border);

    color: #475569;

    font-size: 11px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.sip-data-table tbody td {
    padding: 15px 17px;

    border-color: #f1f5f9;

    color: var(--gs-text);

    font-size: 13px;
}

.sip-table-total td {
    background: #f8fafc;

    color: var(--gs-text-dark) !important;

    font-weight: 750;
}

.sip-table-dot {
    display: inline-block;

    width: 9px;
    height: 9px;

    margin-right: 7px;

    border-radius: 50%;
}

.sip-table-dot.invested {
    background: #2563eb;
}

.sip-table-dot.returns {
    background: #16a34a;
}


/* =========================================================
   FORMULA
========================================================= */

.sip-formula-box {
    display: grid;

    grid-template-columns:
        minmax(280px, 1fr)
        minmax(0, 1fr);

    overflow: hidden;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.sip-formula-main {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 170px;

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #f0fdf4,
            #ffffff
        );

    border-right: 1px solid var(--gs-border);
}

.sip-formula-main > span {
    color: #15803d;

    font-size: 21px;

    font-weight: 850;
}

.sip-formula-main strong {
    color: var(--gs-text-dark);

    font-size: 15px;

    line-height: 1.7;
}

.sip-formula-details {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: center;

    padding: 20px;
}

.sip-formula-details > div {
    padding: 12px;

    text-align: center;
}

.sip-formula-details strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin: 0 auto 8px;

    background: #f0fdf4;

    border-radius: 10px;

    color: #15803d;

    font-size: 18px;
}

.sip-formula-details span {
    color: var(--gs-muted);

    font-size: 11px;
}


/* =========================================================
   EXAMPLE
========================================================= */

.sip-example-card {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: white;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.sip-example-card > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);

    text-align: center;
}

.sip-example-card > div:last-child {
    border-right: 0;
}

.sip-example-card span {
    display: block;

    margin-bottom: 5px;

    color: var(--gs-muted);

    font-size: 11px;
}

.sip-example-card strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 16px;

    font-weight: 800;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.sip-disclaimer {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;

    padding: 19px;

    background: #fffbeb;

    border: 1px solid #fde68a;

    border-radius: 13px;
}

.sip-disclaimer > i {
    flex-shrink: 0;

    color: #d97706;

    font-size: 20px;
}

.sip-disclaimer strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.sip-disclaimer p {
    margin: 0;

    color: #92400e;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .sip-maturity-highlight {
        align-items: flex-start;

        flex-direction: column;

        gap: 6px;
    }

    .sip-maturity-highlight strong {
        text-align: left;
    }


    .sip-formula-box {
        grid-template-columns: 1fr;
    }

    .sip-formula-main {
        min-height: auto;

        border-right: 0;

        border-bottom: 1px solid var(--gs-border);
    }

    .sip-formula-details {
        grid-template-columns: 1fr;

        padding: 12px;
    }

    .sip-formula-details > div {
        display: flex;
        align-items: center;

        gap: 12px;

        padding: 10px;

        text-align: left;
    }

    .sip-formula-details strong {
        flex-shrink: 0;

        margin: 0;
    }


    .sip-example-card {
        grid-template-columns: 1fr;
    }

    .sip-example-card > div {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 20px;

        padding: 15px 17px;

        border-right: 0;

        border-bottom: 1px solid var(--gs-border);

        text-align: left;
    }

    .sip-example-card > div:last-child {
        border-bottom: 0;
    }

    .sip-example-card span,
    .sip-example-card strong {
        margin: 0;
    }

}


@media (max-width: 575.98px) {

    .sip-chart-card {
        padding: 17px;
    }

    .sip-chart-layout {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .sip-donut {
        width: 155px;
    }

    .sip-donut::after {
        width: 104px;
    }

    .sip-chart-legend {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

}
/* =========================================================
   SIP YEAR-WISE GROWTH CHART
========================================================= */

.sip-growth-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.sip-growth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    background: #f8fafc;

    border-bottom: 1px solid var(--gs-border);
}

.sip-growth-header h3 {
    margin: 0;

    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 750;
}

.sip-growth-header small {
    display: block;

    margin-top: 3px;

    color: var(--gs-muted);

    font-size: 11px;
}


/* Legend */

.sip-growth-legend {
    display: flex;
    align-items: center;

    gap: 17px;
}

.sip-growth-legend span {
    display: flex;
    align-items: center;

    gap: 6px;

    color: var(--gs-muted);

    font-size: 11px;
    font-weight: 650;
}

.sip-growth-dot {
    display: inline-block;

    width: 9px;
    height: 9px;

    border-radius: 50%;
}

.sip-growth-dot.investment {
    background: #2563eb;
}

.sip-growth-dot.profit {
    background: #16a34a;
}


/* Chart container */

.sip-chart-scroll {
    width: 100%;

    overflow-x: auto;

    padding: 22px 18px 12px;
}

.sip-growth-chart {
    position: relative;

    width: 100%;

    min-width: 550px;

    min-height: 300px;
}


/* Empty state */

.sip-chart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 8px;

    min-height: 270px;

    color: var(--gs-muted);

    font-size: 12px;
}

.sip-chart-empty i {
    color: #94a3b8;

    font-size: 32px;
}


/* SVG */

.sip-growth-chart svg {
    display: block;

    width: 100%;

    height: 300px;

    overflow: visible;
}

.sip-chart-grid {
    stroke: #e2e8f0;

    stroke-width: 1;
}

.sip-chart-investment-line {
    fill: none;

    stroke: #2563eb;

    stroke-width: 3;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.sip-chart-profit-line {
    fill: none;

    stroke: #16a34a;

    stroke-width: 3;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.sip-chart-investment-point {
    fill: #2563eb;
}

.sip-chart-profit-point {
    fill: #16a34a;
}

.sip-chart-label {
    fill: #64748b;

    font-size: 10px;
}

.sip-chart-year {
    fill: #64748b;

    font-size: 10px;

    text-anchor: middle;
}


/* Mobile */

@media (max-width: 575.98px) {

    .sip-growth-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .sip-growth-legend {
        flex-wrap: wrap;
    }

    .sip-growth-chart {
        min-width: 600px;
    }
}


/* =========================================================
   FIX SIP CHART TOOLTIP
========================================================= */

.sip-growth-card {
    position: relative;
    overflow: visible;
}

.sip-chart-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
}

.sip-growth-chart {
    position: relative;
    overflow: visible;
}

.sip-chart-tooltip {
    position: absolute;
    z-index: 9999;

    display: none;

    min-width: 170px;
    max-width: 220px;

    padding: 11px 13px;

    background: #0f172a;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    color: #ffffff;

    pointer-events: none;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.28);

    white-space: nowrap;
}

.sip-chart-tooltip strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 750;
}

.sip-chart-tooltip span {
    display: block;

    margin-top: 3px;

    color: #e2e8f0;

    font-size: 11px;
    line-height: 1.45;
}

/* =========================================================
   GST CALCULATOR
========================================================= */

.gst-calculator {
    width: 100%;
}


/* Rate buttons */

.gst-rate-options {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 8px;
}

.gst-rate-btn {
    padding: 9px 6px;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 9px;

    color: #475569;

    font-size: 12px;
    font-weight: 750;

    transition: all .18s ease;
}

.gst-rate-btn:hover,
.gst-rate-btn.active {
    background: #eff6ff;

    border-color: var(--gs-primary);

    color: var(--gs-primary);
}


/* =========================================================
   GST FLOW
========================================================= */

.gst-flow {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    margin: 22px 0;
}

.gst-flow-item {
    min-width: 0;

    padding: 15px 10px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    text-align: center;
}

.gst-flow-item span {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-muted);

    font-size: 10px;
}

.gst-flow-item strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.gst-flow-item small {
    display: block;

    margin-top: 2px;

    color: var(--gs-primary);

    font-size: 10px;
    font-weight: 700;
}

.gst-tax-box {
    background: #eff6ff;

    border-color: #bfdbfe;
}

.gst-final-box {
    background: #f0fdf4;

    border-color: #bbf7d0;
}

.gst-final-box strong {
    color: #15803d;
}

.gst-flow-arrow {
    color: #94a3b8;

    font-size: 15px;
}


/* =========================================================
   GST SPLIT RESULT
========================================================= */

.gst-split-card {
    margin-top: 20px;

    padding: 17px;

    background: #ffffff;

    border: 1px solid var(--gs-border);

    border-radius: 13px;
}

.gst-split-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 13px;
}

.gst-split-heading span {
    color: var(--gs-text-dark);

    font-size: 12px;
    font-weight: 750;
}

.gst-split-heading small {
    color: var(--gs-muted);

    font-size: 9px;
}

.gst-split-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.gst-split-grid > div {
    padding: 13px;

    background: #f8fafc;

    border-radius: 10px;
}

.gst-split-grid span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 10px;
}

.gst-split-grid strong {
    color: var(--gs-text-dark);

    font-size: 14px;
}


/* =========================================================
   STEPS
========================================================= */

.gst-steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.gst-steps > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);
}

.gst-steps > div:last-child {
    border-right: 0;
}

.gst-steps > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 12px;background: #eff6ff;

    border-radius: 9px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 800;
}

.gst-steps strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 12px;
}

.gst-steps small {
    color: var(--gs-muted);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   FORMULA CARDS
========================================================= */

.gst-formula-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.gst-formula-card {
    padding: 21px;

    background: #ffffff;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.gst-formula-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 14px;

    background: #eff6ff;

    border-radius: 10px;

    color: var(--gs-primary);

    font-size: 18px;
}

.gst-formula-card h3 {
    margin-bottom: 6px;

    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 800;
}

.gst-formula-card p {
    margin-bottom: 13px;

    color: var(--gs-muted);

    font-size: 11px;
}

.gst-formula-code {
    margin-top: 8px;

    padding: 10px 12px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    color: #334155;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   EXAMPLE
========================================================= */

.gst-example-card {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.gst-example-card > div {
    padding: 19px;

    border-right: 1px solid var(--gs-border);

    text-align: center;
}

.gst-example-card > div:last-child {
    border-right: 0;
}

.gst-example-card span {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-muted);

    font-size: 10px;
}

.gst-example-card strong {
    color: var(--gs-text-dark);

    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   SPLIT EXAMPLE
========================================================= */

.gst-split-example {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--gs-border);

    border-radius: 15px;
}

.gst-split-example > div {
    min-width: 120px;

    padding: 13px 17px;

    background: #f8fafc;

    border-radius: 10px;

    text-align: center;
}

.gst-split-example span {
    display: block;

    color: var(--gs-muted);

    font-size: 10px;
}

.gst-split-example strong {
    display: block;

    margin-top: 3px;

    color: var(--gs-text-dark);

    font-size: 15px;
}

.gst-plus {
    color: #94a3b8 !important;

    font-size: 18px !important;
    font-weight: 800;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.gst-disclaimer {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;

    padding: 19px;

    background: #fffbeb;

    border: 1px solid #fde68a;

    border-radius: 13px;
}

.gst-disclaimer > i {
    flex-shrink: 0;

    color: #d97706;

    font-size: 20px;
}

.gst-disclaimer strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.gst-disclaimer p {
    margin: 0;

    color: #92400e;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .gst-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gst-steps > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .gst-steps > div:nth-child(2) {
        border-right: 0;
    }

    .gst-steps > div:nth-child(3),
    .gst-steps > div:nth-child(4) {
        border-bottom: 0;
    }


    .gst-formula-grid {
        grid-template-columns: 1fr;
    }


    .gst-example-card {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gst-example-card > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .gst-example-card > div:nth-child(2) {
        border-right: 0;
    }

    .gst-example-card > div:nth-child(3),
    .gst-example-card > div:nth-child(4) {
        border-bottom: 0;
    }

}


@media (max-width: 575.98px) {

    .gst-rate-options {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .gst-flow {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .gst-flow-arrow {
        transform: rotate(90deg);

        text-align: center;
    }


    .gst-split-example {
        flex-direction: column;

        gap: 10px;
    }

    .gst-split-example > div {
        width: 100%;
    }

    .gst-split-example > i {
        transform: rotate(90deg);
    }


    .gst-example-card {
        grid-template-columns: 1fr;
    }

    .gst-example-card > div {
        display: flex;
        align-items: center;
        justify-content: space-between;

        border-right: 0;
        border-bottom: 1px solid var(--gs-border);

        text-align: left;
    }

    .gst-example-card > div:last-child {
        border-bottom: 0;
    }

}

/* =========================================================
   FD CALCULATOR
========================================================= */

.fd-calculator {
    width: 100%;
}

.fd-tenure-type {
    max-width: 145px;
}


/* =========================================================
   FD DONUT CHART
========================================================= */

.fd-chart-card {
    margin-top: 20px;
    padding: 18px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 14px;
}

.fd-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.fd-chart-header strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 13px;
    font-weight: 800;
}

.fd-chart-header small {
    display: block;

    margin-top: 2px;

    color: var(--gs-muted);

    font-size: 10px;
}

.fd-chart-layout {
    display: grid;

    grid-template-columns:
        145px
        minmax(0, 1fr);

    align-items: center;

    gap: 22px;
}

.fd-donut-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fd-donut {
    --principal-share: 70%;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background:
        conic-gradient(
            #2563eb 0 var(--principal-share),
            #22c55e var(--principal-share) 100%
        );
}

.fd-donut::after {
    content: "";

    position: absolute;

    width: 88px;
    height: 88px;

    background: #ffffff;

    border-radius: 50%;
}

.fd-donut-center {
    position: relative;

    z-index: 2;

    width: 78px;

    text-align: center;
}

.fd-donut-center span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
}

.fd-donut-center strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 11px;
    font-weight: 800;

    line-height: 1.25;

    overflow-wrap: anywhere;
}


/* Legend */

.fd-chart-legend {
    display: grid;

    gap: 13px;
}

.fd-legend-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 11px 12px;

    background: #f8fafc;

    border-radius: 10px;
}

.fd-legend-color {
    flex-shrink: 0;

    width: 9px;
    height: 9px;

    margin-top: 5px;

    border-radius: 50%;
}

.fd-legend-color.principal {
    background: #2563eb;
}

.fd-legend-color.interest {
    background: #22c55e;
}

.fd-legend-item div {
    min-width: 0;
}

.fd-legend-item small {
    display: block;

    color: var(--gs-muted);

    font-size: 9px;
}

.fd-legend-item strong {
    display: block;

    margin: 2px 0;

    color: var(--gs-text-dark);

    font-size: 12px;

    overflow-wrap: anywhere;
}

.fd-legend-item span:last-child {
    color: var(--gs-muted);

    font-size: 9px;
}


/* =========================================================
   MATURITY HIGHLIGHT
========================================================= */

.fd-maturity-highlight {
    margin-top: 18px;

    padding: 17px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f0fdf4
        );

    border: 1px solid #bfdbfe;
    border-radius: 13px;

    text-align: center;
}

.fd-maturity-highlight span {
    display: block;

    margin-bottom: 4px;

    color: #475569;

    font-size: 10px;
}

.fd-maturity-highlight strong {
    display: block;

    color: #15803d;

    font-size: 22px;
    font-weight: 850;
}


/* =========================================================
   STEPS
========================================================= */

.fd-steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.fd-steps > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);
}

.fd-steps > div:last-child {
    border-right: 0;
}

.fd-steps > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 12px;

    background: #eff6ff;

    border-radius: 9px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 800;
}

.fd-steps strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 12px;
}

.fd-steps small {
    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   FORMULA
========================================================= */

.fd-formula-box {
    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.fd-formula-main {
    padding: 17px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 11px;

    color: var(--gs-primary);

    font-size: 18px;
    font-weight: 850;

    text-align: center;
}

.fd-formula-details {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    margin-top: 16px;
}

.fd-formula-details > div {
    padding: 12px;

    background: #f8fafc;

    border-radius: 10px;

    text-align: center;
}

.fd-formula-details strong {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-primary);

    font-size: 14px;
}

.fd-formula-details span {
    color: var(--gs-muted);

    font-size: 9px;
}


/* =========================================================
   EXAMPLE
========================================================= */

.fd-example-card {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.fd-example-card > div {
    padding: 19px;

    border-right: 1px solid var(--gs-border);

    text-align: center;
}

.fd-example-card > div:last-child {
    border-right: 0;
}

.fd-example-card span {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-muted);

    font-size: 10px;
}

.fd-example-card strong {
    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   DATA TABLE
========================================================= */

.fd-data-table {
    margin: 0;

    overflow: hidden;

    border: 1px solid var(--gs-border);

    border-radius: 13px;
}

.fd-data-table thead th {
    padding: 12px 14px;

    background: #f8fafc;

    border-bottom: 1px solid var(--gs-border);

    color: #475569;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .03em;
}

.fd-data-table tbody td {
    padding: 12px 14px;

    color: #475569;

    font-size: 11px;

    vertical-align: middle;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.fd-disclaimer {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #fffbeb;

    border: 1px solid #fde68a;
    border-radius: 13px;
}

.fd-disclaimer > i {
    flex-shrink: 0;

    color: #d97706;

    font-size: 20px;
}

.fd-disclaimer strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.fd-disclaimer p {
    margin: 0;

    color: #92400e;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .fd-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fd-steps > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .fd-steps > div:nth-child(2) {
        border-right: 0;
    }

    .fd-steps > div:nth-child(3),
    .fd-steps > div:nth-child(4) {
        border-bottom: 0;
    }


    .fd-formula-details {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .fd-example-card {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fd-example-card > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .fd-example-card > div:nth-child(2) {
        border-right: 0;
    }

    .fd-example-card > div:nth-child(3),
    .fd-example-card > div:nth-child(4) {
        border-bottom: 0;
    }

}


@media (max-width: 575.98px) {

    .fd-chart-layout {
        grid-template-columns: 1fr;
    }

    .fd-chart-legend {
        width: 100%;
    }


    .fd-donut {
        width: 140px;
        height: 140px;
    }


    .fd-formula-details {
        grid-template-columns: 1fr;
    }


    .fd-example-card {
        grid-template-columns: 1fr;
    }

    .fd-example-card > div {
        display: flex;
        align-items: center;
        justify-content: space-between;

        border-right: 0;
        border-bottom: 1px solid var(--gs-border);

        text-align: left;
    }

    .fd-example-card > div:last-child {
        border-bottom: 0;
    }

}
/* =========================================================
   PERCENTAGE CALCULATOR
========================================================= */

.percentage-calculator {
    width: 100%;
}


/* Type selector */

.percentage-type-card {
    padding: 18px;background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 14px;
}

.percentage-type-header {
    margin-bottom: 12px;
}

.percentage-type-header strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 13px;
    font-weight: 800;
}

.percentage-type-header small {
    display: block;

    margin-top: 2px;

    color: var(--gs-muted);

    font-size: 10px;
}


/* Question */

.percentage-question-card {
    margin-bottom: 18px;
    padding: 14px 16px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 11px;
}

.percentage-question-card span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.percentage-question-card strong {
    color: #475569;

    font-size: 13px;
    font-weight: 750;
}


/* Main result */

.percentage-main-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 150px;

    margin-bottom: 18px;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #bfdbfe;
    border-radius: 15px;

    text-align: center;
}

.percentage-main-result span {
    display: block;

    margin-bottom: 6px;

    color: #64748b;

    font-size: 10px;
}

.percentage-main-result strong {
    color: var(--gs-primary);

    font-size: clamp(34px, 5vw, 48px);
    font-weight: 850;

    line-height: 1.1;

    overflow-wrap: anywhere;
}


/* Formula result */

.percentage-formula-result {
    padding: 15px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 11px;
}

.percentage-formula-result > div {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 6px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.percentage-formula-result strong {
    display: block;

    color: #334155;

    font-size: 12px;
    font-weight: 750;

    line-height: 1.6;

    overflow-wrap: anywhere;
}


/* =========================================================
   METHOD CARDS
========================================================= */

.percentage-method-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.percentage-method-card {
    position: relative;

    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.percentage-method-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .07);
}

.percentage-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 13px;

    background: #eff6ff;

    border-radius: 10px;

    color: #2563eb;

    font-size: 17px;
}

.percentage-method-icon.increase {
    background: #f0fdf4;

    color: #16a34a;
}

.percentage-method-icon.decrease {
    background: #fff7ed;

    color: #ea580c;
}

.percentage-method-card > span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.percentage-method-card h3 {
    margin-bottom: 10px;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;
}

.percentage-method-formula {
    margin-bottom: 11px;

    padding: 9px 11px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #334155;

    font-size: 11px;
    font-weight: 750;
}

.percentage-method-card p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 11px;
}


/* =========================================================
   EXPLANATION
========================================================= */

.percentage-explanation-card {
    display: grid;

    grid-template-columns:
        170px
        minmax(0, 1fr);

    align-items: center;

    gap: 25px;

    padding: 23px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.percentage-100-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.percentage-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 125px;
    height: 125px;

    background:
        radial-gradient(
            circle at center,
            #ffffff 55%,
            transparent 56%
        ),
        conic-gradient(
            #2563eb 0 100%
        );

    border-radius: 50%;
}

.percentage-circle strong {
    color: var(--gs-primary);

    font-size: 21px;
    font-weight: 850;
}

.percentage-circle span {
    color: var(--gs-muted);

    font-size: 9px;
}

.percentage-explanation-card p {
    color: #475569;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   TIP
========================================================= */

.percentage-tip {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 13px;
}

.percentage-tip > i {
    flex-shrink: 0;

    color: #2563eb;

    font-size: 20px;
}

.percentage-tip strong {
    display: block;

    margin-bottom: 3px;

    color: #1e3a8a;

    font-size: 13px;
}

.percentage-tip p {
    margin: 0;

    color: #1e40af;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .percentage-method-grid {
        grid-template-columns: 1fr;
    }


    .percentage-explanation-card {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .percentage-explanation-card p {
        text-align: left;
    }

}


@media (max-width: 575.98px) {

    .percentage-main-result {
        min-height: 125px;

        padding: 18px;
    }


    .percentage-main-result strong {
        font-size: 34px;
    }


    .percentage-type-card {
        padding: 15px;
    }

}
/* =========================================================
   DATE DIFFERENCE CALCULATOR
========================================================= */

.date-difference-calculator {
    width: 100%;
}


/* =========================================================
   DATE INPUT
========================================================= */

.date-diff-input-box {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 14px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 13px;
}

.date-diff-date-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 42px;
    height: 42px;

    background: #eff6ff;

    border-radius: 11px;

    color: #2563eb;

    font-size: 18px;
}

.date-diff-date-icon.end {
    background: #f0fdf4;

    color: #16a34a;
}

.date-diff-input-box .form-label {
    margin-bottom: 5px;
}


/* Connector */

.date-diff-connector {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: -9px 0 7px;

    padding-left: 15px;
}

.date-diff-connector > span {
    width: 1px;
    height: 7px;

    background: #cbd5e1;
}

.date-diff-connector div {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 50%;

    color: #64748b;

    font-size: 10px;
}


/* Inclusive checkbox */

.date-diff-inclusive {
    padding: 14px 15px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 11px;
}

.date-diff-inclusive .form-check {
    margin-bottom: 2px;
}

.date-diff-inclusive .form-check-label {
    color: var(--gs-text-dark);

    font-size: 12px;
    font-weight: 750;
}

.date-diff-inclusive small {
    display: block;

    padding-left: 25px;

    color: var(--gs-muted);

    font-size: 10px;
}


/* =========================================================
   MAIN RESULT
========================================================= */

.date-diff-main-result {
    min-height: 125px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #bfdbfe;
    border-radius: 15px;

    text-align: center;
}

.date-diff-main-result span {
    margin-bottom: 6px;

    color: #64748b;

    font-size: 10px;
}

.date-diff-main-result strong {
    color: var(--gs-primary);

    font-size: clamp(21px, 3vw, 28px);
    font-weight: 850;

    line-height: 1.3;
}


/* Summary */

.date-diff-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.date-diff-summary-grid > div {
    padding: 15px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 11px;

    text-align: center;
}

.date-diff-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    margin: 0 auto 8px;

    background: #eff6ff;

    border-radius: 8px;

    color: #2563eb;
}

.date-diff-summary-grid small {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
}

.date-diff-summary-grid strong {
    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   TIMELINE
========================================================= */

.date-diff-timeline {
    display: grid;

    grid-template-columns:
        50px
        minmax(0, 1fr)
        50px;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
    padding: 15px;

    background: #f8fafc;

    border-radius: 12px;
}

.date-diff-timeline-point {
    text-align: center;
}

.date-diff-timeline-point > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin: 0 auto 4px;

    background: #eff6ff;

    border-radius: 50%;

    color: #2563eb;
}

.date-diff-timeline-point.end > span {
    background: #f0fdf4;

    color: #16a34a;
}

.date-diff-timeline-point small {
    color: var(--gs-muted);

    font-size: 9px;
}

.date-diff-timeline-line {
    display: flex;
    align-items: center;
}

.date-diff-timeline-line > span {
    flex: 1;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #93c5fd,
            #86efac
        );
}

.date-diff-timeline-line > div {
    padding: 3px 8px;

    color: #64748b;

    font-size: 8px;
    font-weight: 700;
}


/* =========================================================
   STEPS
========================================================= */

.date-diff-steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.date-diff-steps > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);
}

.date-diff-steps > div:last-child {
    border-right: 0;
}

.date-diff-steps > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 11px;

    background: #eff6ff;

    border-radius: 9px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 800;
}

.date-diff-steps strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 12px;
}

.date-diff-steps small {
    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   RESULT COMPARISON
========================================================= */

.date-diff-comparison {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.date-diff-comparison-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.date-diff-comparison-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 13px;

    background: #eff6ff;

    border-radius: 10px;

    color: #2563eb;

    font-size: 17px;
}

.date-diff-comparison-card > span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.date-diff-comparison-card strong {
    display: block;

    margin-bottom: 8px;

    color: var(--gs-text-dark);

    font-size: 14px;
}

.date-diff-comparison-card p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   INCLUSIVE EXAMPLE
========================================================= */

.date-diff-inclusive-example {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.date-diff-inclusive-example > div {
    min-width: 95px;

    padding: 12px;

    background: #f8fafc;

    border-radius: 10px;

    text-align: center;
}

.date-diff-inclusive-example span,
.date-diff-inclusive-example small {
    display: block;

    color: var(--gs-muted);

    font-size: 9px;
}

.date-diff-inclusive-example strong {
    display: block;

    margin-top: 3px;

    color: var(--gs-text-dark);

    font-size: 13px;
}

.date-diff-count-result {
    border: 1px solid #e2e8f0;
}

.date-diff-count-result.inclusive {
    background: #f0fdf4 !important;

    border: 1px solid #bbf7d0;
}

.date-diff-count-result.inclusive strong {
    color: #15803d;
}


/* =========================================================
   COMMON USES
========================================================= */

.date-diff-use-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.date-diff-use-grid > div {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 14px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 10px;
}

.date-diff-use-grid i {
    color: var(--gs-primary);

    font-size: 15px;
}

.date-diff-use-grid span {
    color: #475569;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.date-diff-disclaimer {
    display: flex;
    align-items: flex-start;gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 13px;
}

.date-diff-disclaimer > i {
    flex-shrink: 0;

    color: #2563eb;

    font-size: 20px;
}

.date-diff-disclaimer strong {
    display: block;

    margin-bottom: 3px;

    color: #1e3a8a;

    font-size: 13px;
}

.date-diff-disclaimer p {
    margin: 0;

    color: #1e40af;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .date-diff-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .date-diff-steps > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .date-diff-steps > div:nth-child(2) {
        border-right: 0;
    }

    .date-diff-steps > div:nth-child(3),
    .date-diff-steps > div:nth-child(4) {
        border-bottom: 0;
    }


    .date-diff-comparison {
        grid-template-columns: 1fr;
    }


    .date-diff-use-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 575.98px) {

    .date-diff-summary-grid {
        grid-template-columns: 1fr;
    }


    .date-diff-inclusive-example {
        flex-direction: column;

        gap: 9px;
    }

    .date-diff-inclusive-example > div {
        width: 100%;
    }

    .date-diff-inclusive-example > i {
        transform: rotate(90deg);
    }


    .date-diff-use-grid {
        grid-template-columns: 1fr;
    }


    .date-diff-input-box {
        align-items: flex-start;
    }

}
/* =========================================================
   SALARY INCREMENT CALCULATOR
========================================================= */

.salary-increment-calculator {
    width: 100%;
}


/* Mode selector */

.salary-mode-card {
    display: grid;

    grid-template-columns:
        minmax(0, .8fr)
        minmax(260px, 1.2fr);

    align-items: center;

    gap: 20px;

    padding: 18px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 14px;
}

.salary-mode-card strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 13px;
    font-weight: 800;
}

.salary-mode-card small {
    display: block;

    margin-top: 3px;

    color: var(--gs-muted);

    font-size: 10px;
}


/* =========================================================
   MAIN RESULT
========================================================= */

.salary-main-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 130px;

    margin-bottom: 18px;
    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f0fdf4
        );

    border: 1px solid #bfdbfe;
    border-radius: 15px;

    text-align: center;
}

.salary-main-result span {
    display: block;

    margin-bottom: 5px;

    color: #64748b;

    font-size: 10px;
}

.salary-main-result strong {
    color: var(--gs-primary);

    font-size: clamp(27px, 4vw, 38px);
    font-weight: 850;

    line-height: 1.15;

    overflow-wrap: anywhere;
}


/* =========================================================
   SALARY FLOW
========================================================= */

.salary-growth-flow {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        75px
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}

.salary-growth-flow > div:not(.salary-growth-arrow) {
    padding: 14px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 11px;

    text-align: center;
}

.salary-growth-flow .revised {
    background: #f0fdf4 !important;

    border-color: #bbf7d0 !important;
}

.salary-growth-flow span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
}

.salary-growth-flow strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.salary-growth-flow .revised strong {
    color: #15803d;
}

.salary-growth-arrow {
    text-align: center;
}

.salary-growth-arrow span {
    margin-bottom: 4px;

    color: #16a34a;

    font-size: 10px;
    font-weight: 800;
}

.salary-growth-arrow i {
    color: #94a3b8;

    font-size: 20px;
}


/* =========================================================
   ANNUAL SUMMARY
========================================================= */

.salary-annual-card {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin-top: 18px;
}

.salary-annual-card > div {
    padding: 13px 8px;

    background: #f8fafc;

    border-radius: 10px;

    text-align: center;
}

.salary-annual-card span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 8px;
}

.salary-annual-card strong {
    display: block;

    color: var(--gs-text-dark);

    font-size: 11px;

    overflow-wrap: anywhere;
}


/* =========================================================
   STEPS
========================================================= */

.salary-increment-steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.salary-increment-steps > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);
}

.salary-increment-steps > div:last-child {
    border-right: 0;
}

.salary-increment-steps > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 11px;

    background: #eff6ff;

    border-radius: 9px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 800;
}

.salary-increment-steps strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 12px;
}

.salary-increment-steps small {
    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   FORMULA CARDS
========================================================= */

.salary-formula-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.salary-formula-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.salary-formula-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 13px;

    background: #eff6ff;

    border-radius: 10px;

    color: #2563eb;

    font-size: 17px;
}

.salary-formula-card h3 {
    margin-bottom: 6px;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;
}

.salary-formula-card p {
    margin-bottom: 13px;

    color: var(--gs-muted);

    font-size: 11px;
}

.salary-formula-code {
    margin-top: 8px;

    padding: 10px 12px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #334155;

    font-size: 10px;
    font-weight: 750;

    line-height: 1.5;
}


/* =========================================================
   EXAMPLES
========================================================= */

.salary-example-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.salary-example-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.salary-example-card > span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.salary-example-card h3 {
    margin-bottom: 14px;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;
}

.salary-example-values {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}

.salary-example-values > div {
    padding: 11px;

    background: #f8fafc;

    border-radius: 9px;
}

.salary-example-values small {
    display: block;

    color: var(--gs-muted);

    font-size: 8px;
}

.salary-example-values strong {
    display: block;

    margin-top: 2px;

    color: var(--gs-text-dark);

    font-size: 11px;
}


/* =========================================================
   GOVERNMENT NOTE
========================================================= */

.salary-government-note {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #fffbeb;

    border: 1px solid #fde68a;
    border-radius: 13px;
}

.salary-government-note > i {
    flex-shrink: 0;

    color: #d97706;

    font-size: 20px;
}

.salary-government-note strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.salary-government-note p {
    margin: 0;

    color: #92400e;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .salary-mode-card {
        grid-template-columns: 1fr;
    }


    .salary-increment-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .salary-increment-steps > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .salary-increment-steps > div:nth-child(2) {
        border-right: 0;
    }

    .salary-increment-steps > div:nth-child(3),
    .salary-increment-steps > div:nth-child(4) {
        border-bottom: 0;
    }


    .salary-formula-grid,
    .salary-example-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 575.98px) {

    .salary-growth-flow {
        grid-template-columns: 1fr;
    }


    .salary-growth-arrow {
        padding: 3px 0;
    }

    .salary-growth-arrow i {
        display: block;

        transform: rotate(90deg);
    }


    .salary-annual-card {
        grid-template-columns: 1fr;
    }

    .salary-annual-card > div {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 11px 13px;

        text-align: left;
    }


    .salary-example-values {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   ATTENDANCE CALCULATOR
========================================================= */

.attendance-calculator {
    width: 100%;
}


/* Main percentage */

.attendance-main-result {
    padding: 20px;
    margin-bottom: 14px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #bfdbfe;
    border-radius: 15px;

    text-align: center;
}

.attendance-main-result > span {
    display: block;
    margin-bottom: 4px;

    color: var(--gs-muted);
    font-size: 10px;
}

.attendance-main-result > strong {
    display: block;

    color: var(--gs-primary);

    font-size: clamp(35px, 5vw, 48px);
    font-weight: 850;
    line-height: 1.1;
}

.attendance-main-result small {
    display: block;
    margin-top: 6px;

    color: var(--gs-muted);
    font-size: 9px;
}


/* Progress */

.attendance-progress {
    width: 100%;
    height: 8px;

    margin-top: 15px;

    overflow: hidden;

    background: #dbeafe;
    border-radius: 999px;
}

.attendance-progress-bar {
    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #16a34a
        );

    border-radius: inherit;

    transition: width .4s ease;
}


/* Status */

.attendance-status {
    margin-bottom: 14px;
    padding: 11px 13px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 10px;

    color: #475569;

    font-size: 11px;
    line-height: 1.55;
}


/* Summary */

.attendance-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;
}

.attendance-summary-grid > div {
    padding: 12px 8px;

    background: #f8fafc;
    border-radius: 10px;

    text-align: center;
}

.attendance-summary-grid span {
    display: block;
    margin-bottom: 3px;

    color: var(--gs-muted);
    font-size: 8px;
}

.attendance-summary-grid strong {
    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   TARGET CARDS
========================================================= */

.attendance-target-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.attendance-target-card {
    padding: 21px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.attendance-target-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 13px;

    background: #eff6ff;
    border-radius: 10px;

    color: #2563eb;

    font-size: 17px;
}

.attendance-target-card.miss .attendance-target-icon {
    background: #f0fdf4;
    color: #16a34a;
}

.attendance-target-card > span {
    display: block;

    color: var(--gs-muted);
    font-size: 10px;
}

.attendance-target-card > strong {
    display: block;

    margin: 5px 0;

    color: var(--gs-primary);

    font-size: 29px;
    font-weight: 850;
}

.attendance-target-card.miss > strong {
    color: #16a34a;
}

.attendance-target-card p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   STEPS
========================================================= */

.attendance-steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.attendance-steps > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);
}

.attendance-steps > div:last-child {
    border-right: 0;
}

.attendance-steps > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 11px;

    background: #eff6ff;
    border-radius: 9px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 800;
}

.attendance-steps strong {
    display: block;
    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 12px;
}

.attendance-steps small {
    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   FORMULA
========================================================= */

.attendance-formula-card {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.attendance-formula-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 45px;
    height: 45px;

    background: #eff6ff;
    border-radius: 11px;

    color: #2563eb;

    font-size: 19px;
}.attendance-formula-card span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);
    font-size: 9px;
}

.attendance-formula-card strong {
    color: #334155;

    font-size: 13px;
}


.attendance-example {
    margin-top: 12px;
    padding: 17px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 12px;
}

.attendance-example > span {
    color: var(--gs-muted);

    font-size: 9px;
    text-transform: uppercase;
}

.attendance-example p {
    margin: 5px 0;

    color: #475569;
    font-size: 11px;
}

.attendance-example > div {
    color: var(--gs-text-dark);

    font-size: 13px;
}


/* =========================================================
   TARGET EXAMPLE
========================================================= */

.attendance-target-example {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 9px;
}

.attendance-target-example > div {
    padding: 15px 8px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 11px;

    text-align: center;
}

.attendance-target-example .target {
    background: #eff6ff;

    border-color: #bfdbfe;
}

.attendance-target-example span,
.attendance-target-example small {
    display: block;

    color: var(--gs-muted);
    font-size: 8px;
}

.attendance-target-example strong {
    display: block;

    margin: 3px 0;

    color: var(--gs-text-dark);

    font-size: 18px;
    font-weight: 850;
}

.attendance-target-example .target strong {
    color: var(--gs-primary);
}


.attendance-explanation {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 13px;
    padding: 16px;

    background: #fffbeb;

    border: 1px solid #fde68a;
    border-radius: 11px;
}

.attendance-explanation i {
    flex-shrink: 0;

    color: #d97706;
}

.attendance-explanation p {
    margin: 0;

    color: #92400e;

    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   FAQ
========================================================= */

.attendance-faq .accordion-item {
    overflow: hidden;

    margin-bottom: 8px;

    border: 1px solid var(--gs-border);
    border-radius: 10px;
}

.attendance-faq .accordion-button {
    padding: 14px 16px;

    font-size: 12px;
    font-weight: 750;
}

.attendance-faq .accordion-body {
    color: #475569;

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.attendance-disclaimer {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 13px;
}

.attendance-disclaimer > i {
    flex-shrink: 0;

    color: #2563eb;
    font-size: 20px;
}

.attendance-disclaimer strong {
    display: block;

    margin-bottom: 3px;

    color: #1e3a8a;

    font-size: 13px;
}

.attendance-disclaimer p {
    margin: 0;

    color: #1e40af;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .attendance-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .attendance-steps > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .attendance-steps > div:nth-child(2) {
        border-right: 0;
    }

    .attendance-steps > div:nth-child(3),
    .attendance-steps > div:nth-child(4) {
        border-bottom: 0;
    }


    .attendance-target-example {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 575.98px) {

    .attendance-target-grid {
        grid-template-columns: 1fr;
    }


    .attendance-summary-grid {
        grid-template-columns: 1fr;
    }

    .attendance-summary-grid > div {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 11px 13px;

        text-align: left;
    }


    .attendance-target-example {
        grid-template-columns: 1fr;
    }


    .attendance-formula-card {
        align-items: flex-start;
    }

}
/* =========================================================
   CGPA CALCULATOR
========================================================= */

.cgpa-calculator {
    width: 100%;
}


/* =========================================================
   MAIN RESULT
========================================================= */

.cgpa-main-result {
    min-height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;
    padding: 22px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #bfdbfe;
    border-radius: 15px;

    text-align: center;
}

.cgpa-main-result > span {
    margin-bottom: 5px;

    color: var(--gs-muted);

    font-size: 10px;
}

.cgpa-main-result > strong {
    color: var(--gs-primary);

    font-size: clamp(35px, 5vw, 48px);
    font-weight: 850;

    line-height: 1.1;
}


/* Progress */

.cgpa-result-progress {
    width: min(300px, 100%);
    height: 8px;

    margin-top: 16px;

    overflow: hidden;

    background: #dbeafe;

    border-radius: 999px;
}

.cgpa-result-progress-bar {
    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #16a34a
        );

    border-radius: inherit;

    transition: width .4s ease;
}


/* Result note */

.cgpa-result-note {
    margin-top: 17px;
    padding: 12px 13px;

    background: #f8fafc;

    border: 1px solid var(--gs-border);
    border-radius: 10px;

    color: #475569;

    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   COMPARISON TABLE
========================================================= */

.cgpa-table-wrap {
    overflow: hidden;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 14px;
}

.cgpa-table-wrap table {
    font-size: 11px;
}

.cgpa-table-wrap thead th {
    padding: 12px 14px;

    background: #f8fafc;

    color: #475569;

    border-bottom: 1px solid var(--gs-border);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.cgpa-table-wrap tbody td {
    padding: 12px 14px;

    border-color: #f1f5f9;
}


/* =========================================================
   REVERSE CONVERTER
========================================================= */

.cgpa-reverse-card {
    padding: 20px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.cgpa-reverse-fields {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 13px;
}

.cgpa-reverse-result {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 16px;
    padding: 15px 17px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 11px;
}

.cgpa-reverse-result span {
    color: #475569;

    font-size: 11px;
}

.cgpa-reverse-result strong {
    color: var(--gs-primary);

    font-size: 24px;
    font-weight: 850;
}


/* =========================================================
   METHODS
========================================================= */

.cgpa-method-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.cgpa-method-card {
    padding: 20px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.cgpa-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 13px;

    background: #eff6ff;

    border-radius: 10px;

    color: #2563eb;

    font-size: 16px;
}

.cgpa-method-card > span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.cgpa-method-card h3 {
    margin-bottom: 10px;

    color: var(--gs-text-dark);

    font-size: 14px;
    font-weight: 800;
}

.cgpa-formula {
    margin-bottom: 10px;
    padding: 10px 12px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #334155;

    font-size: 11px;
    font-weight: 750;
}

.cgpa-method-card p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   EXAMPLE FLOW
========================================================= */

.cgpa-example-flow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 22px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.cgpa-example-flow > div {
    min-width: 120px;

    padding: 14px;

    background: #f8fafc;

    border-radius: 11px;

    text-align: center;
}

.cgpa-example-flow > div.result {
    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}

.cgpa-example-flow span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
}

.cgpa-example-flow strong {
    color: var(--gs-text-dark);

    font-size: 16px;
    font-weight: 850;
}

.cgpa-example-flow .result strong {
    color: #15803d;
}

.cgpa-example-flow > i {
    color: #94a3b8;

    font-size: 17px;
}


/* =========================================================
   IMPORTANT NOTE
========================================================= */

.cgpa-important-note {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #fffbeb;

    border: 1px solid #fde68a;
    border-radius: 13px;
}

.cgpa-important-note > i {
    flex-shrink: 0;

    color: #d97706;

    font-size: 20px;
}

.cgpa-important-note strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.cgpa-important-note p {
    margin: 0;

    color: #92400e;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   FAQ
========================================================= */

.cgpa-faq .accordion-item {
    overflow: hidden;

    margin-bottom: 8px;

    border: 1px solid var(--gs-border);
    border-radius: 10px;
}

.cgpa-faq .accordion-button {
    padding: 14px 16px;

    font-size: 12px;
    font-weight: 750;
}

.cgpa-faq .accordion-body {
    color: #475569;

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .cgpa-reverse-fields {
        grid-template-columns: 1fr;
    }


    .cgpa-method-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 575.98px) {

    .cgpa-example-flow {
        flex-direction: column;
    }

    .cgpa-example-flow > div {
        width: 100%;
    }

    .cgpa-example-flow > i {
        transform: rotate(90deg);
    }


    .cgpa-reverse-result {
        flex-direction: column;

        align-items: flex-start;
    }

}
/* =========================================================
   AGE CALCULATOR
========================================================= */

.age-calculator {
    width: 100%;
}


/* Date connector */

.age-date-connector {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: -5px 0 13px;
}

.age-date-connector > span {
    flex: 1;

    height: 1px;

    background: #e2e8f0;
}

.age-date-connector > div {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    background: #eff6ff;

    border-radius: 50%;

    color: #2563eb;

    font-size: 11px;
}


/* =========================================================
   MAIN AGE
========================================================= */

.age-main-result {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 8px;

    margin-bottom: 19px;
    padding: 23px 15px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #bfdbfe;
    border-radius: 15px;
}

.age-main-result > div:not(.age-result-separator) {
    text-align: center;
}

.age-main-result strong {
    display: block;

    color: var(--gs-primary);

    font-size: clamp(27px, 4vw, 39px);
    font-weight: 850;

    line-height: 1.1;
}

.age-main-result span {
    display: block;

    margin-top: 5px;

    color: var(--gs-muted);

    font-size: 9px;
}

.age-result-separator {
    margin-top: -14px;

    color: #94a3b8;

    font-size: 24px;
    font-weight: 700;
}


/* Summary */

.age-summary {
    margin-top: 18px;
    padding: 13px 14px;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
    border-radius: 10px;

    color: #166534;

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   AGE UNITS
========================================================= */

.age-units-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.age-unit-card {
    padding: 17px 10px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 13px;

    text-align: center;
}

.age-unit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    margin: 0 auto 10px;

    background: #eff6ff;

    border-radius: 9px;

    color: #2563eb;

    font-size: 15px;
}

.age-unit-card > span {
    display: block;

    color: var(--gs-muted);

    font-size: 9px;
}

.age-unit-card > strong {
    display: block;

    margin-top: 4px;

    color: var(--gs-text-dark);

    font-size: 19px;
    font-weight: 850;

    overflow-wrap: anywhere;
}


/* =========================================================
   BIRTHDAY
========================================================= */

.age-birthday-card {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        1px
        minmax(0, 1fr);

    align-items: center;

    gap: 18px;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            #fff7ed,
            #fff
        );

    border: 1px solid #fed7aa;
    border-radius: 15px;
}

.age-birthday-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    background: #ffedd5;

    border-radius: 14px;

    color: #ea580c;

    font-size: 23px;
}

.age-birthday-info span,
.age-birthday-countdown span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
}

.age-birthday-info strong {
    color: var(--gs-text-dark);

    font-size: 16px;
    font-weight: 800;
}

.age-birthday-countdown strong {
    color: #ea580c;

    font-size: 22px;
    font-weight: 850;
}.age-birthday-divider {
    width: 1px;
    height: 45px;

    background: #fed7aa;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.age-how-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.age-how-grid > div {
    padding: 20px;

    border-right: 1px solid var(--gs-border);
}

.age-how-grid > div:last-child {
    border-right: 0;
}

.age-how-grid > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 11px;

    background: #eff6ff;

    border-radius: 9px;

    color: var(--gs-primary);

    font-size: 12px;
    font-weight: 800;
}

.age-how-grid strong {
    display: block;

    margin-bottom: 4px;

    color: var(--gs-text-dark);

    font-size: 12px;
}

.age-how-grid small {
    color: var(--gs-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   METHOD
========================================================= */

.age-method-card {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    padding: 21px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.age-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 44px;
    height: 44px;

    background: #eff6ff;

    border-radius: 11px;

    color: #2563eb;

    font-size: 19px;
}

.age-method-card span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.age-method-card h2 {
    margin-bottom: 6px;

    color: var(--gs-text-dark);

    font-size: 15px;
    font-weight: 800;
}

.age-method-card p {
    margin: 0;

    color: var(--gs-muted);

    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   EXAMPLE
========================================================= */

.age-example-flow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 22px;

    background: #fff;

    border: 1px solid var(--gs-border);
    border-radius: 15px;
}

.age-example-flow > div {
    min-width: 145px;

    padding: 14px;

    background: #f8fafc;

    border-radius: 11px;

    text-align: center;
}

.age-example-flow > div.result {
    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}

.age-example-flow span {
    display: block;

    margin-bottom: 3px;

    color: var(--gs-muted);

    font-size: 9px;
}

.age-example-flow strong {
    color: var(--gs-text-dark);

    font-size: 13px;
    font-weight: 800;
}

.age-example-flow .result strong {
    color: #15803d;
}

.age-example-flow > i {
    color: #94a3b8;

    font-size: 17px;
}


/* =========================================================
   FAQ
========================================================= */

.age-faq .accordion-item {
    overflow: hidden;

    margin-bottom: 8px;

    border: 1px solid var(--gs-border);
    border-radius: 10px;
}

.age-faq .accordion-button {
    padding: 14px 16px;

    font-size: 12px;
    font-weight: 750;
}

.age-faq .accordion-body {
    color: #475569;

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   ELIGIBILITY NOTE
========================================================= */

.age-official-note {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;
    padding: 19px;

    background: #fffbeb;

    border: 1px solid #fde68a;
    border-radius: 13px;
}

.age-official-note > i {
    flex-shrink: 0;

    color: #d97706;

    font-size: 20px;
}

.age-official-note strong {
    display: block;

    margin-bottom: 3px;

    color: #78350f;

    font-size: 13px;
}

.age-official-note p {
    margin: 0;

    color: #92400e;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .age-units-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .age-how-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .age-how-grid > div {
        border-bottom: 1px solid var(--gs-border);
    }

    .age-how-grid > div:nth-child(2) {
        border-right: 0;
    }

    .age-how-grid > div:nth-child(3),
    .age-how-grid > div:nth-child(4) {
        border-bottom: 0;
    }


    .age-birthday-card {
        grid-template-columns:
            auto minmax(0, 1fr);
    }

    .age-birthday-divider {
        display: none;
    }

    .age-birthday-countdown {
        grid-column: 1 / -1;

        padding-top: 14px;

        border-top: 1px solid #fed7aa;
    }

}


@media (max-width: 575.98px) {

    .age-main-result {
        gap: 3px;

        padding-left: 8px;
        padding-right: 8px;
    }

    .age-main-result strong {
        font-size: 27px;
    }


    .age-example-flow {
        flex-direction: column;
    }

    .age-example-flow > div {
        width: 100%;
    }

    .age-example-flow > i {
        transform: rotate(90deg);
    }


    .age-method-card {
        flex-direction: column;
    }

}

/* =========================================================
   GINTISETU LAUNCH-SAFE REFINEMENTS
   Accessibility, readability and overflow hardening
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.navbar-toggler:focus,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.tool-page,
.calculator-shell,
.calculator-grid,
.calculator-form,
.calculator-result,
.tool-content-card,
.related-tools {
    min-width: 0;
}

.calculator-shell img,
.calculator-shell svg,
.calculator-shell canvas {
    max-width: 100%;
}

.calculator-shell .table-responsive {
    -webkit-overflow-scrolling: touch;
}

.calculator-shell .form-text,
.calculator-shell .calc-note,
.calculator-shell .tool-disclaimer p,
.calculator-shell .calculator-update-info {
    line-height: 1.6;
}

/* Improve supporting-text readability without altering core layout */
.calculator-shell .form-text,
.calculator-shell .calc-note,
.calculator-shell .accordion-body {
    font-size: 12px;
}

.calculator-shell .accordion-button {
    font-size: 14px;
}

.calc-section-heading > span {
    font-size: 12px;
}

/* Prevent long calculated values from breaking narrow layouts */
.result-primary-value,
.result-row strong,
.gross-result strong,
.emi-total-payment strong,
.sip-maturity-highlight strong,
.fd-maturity-highlight strong,
.percentage-main-result strong,
.salary-main-result strong,
.attendance-main-result > strong,
.age-main-result strong {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 767.98px) {
    .tool-page-header,
    .tool-page-header > div:last-child {
        min-width: 0;
    }

    .tool-page-header h1,
    .tool-page-header p {
        overflow-wrap: anywhere;
    }

    .calculator-shell .table-responsive,
    .sip-chart-scroll {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   CATEGORY PAGE
========================================================= */

.category-page {
    padding: 30px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 26%),
        var(--gs-bg);
}

.category-breadcrumb {
    margin-bottom: 22px;
}

.category-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 13px;
}

.category-breadcrumb a {
    color: var(--gs-primary);
    text-decoration: none;
    font-weight: 650;
}

.category-breadcrumb a:hover {
    text-decoration: underline;
}

.category-page-header {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 48px;
    padding: 30px;
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: 22px;
    box-shadow: var(--gs-shadow);
}

.category-page-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gs-primary-light);
    border-radius: 18px;
    color: var(--gs-primary);
    font-size: 28px;
}

.category-page-heading {
    min-width: 0;
}

.category-page-label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--gs-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.category-page-header h1 {
    margin: 0 0 10px;
    color: var(--gs-text-dark);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.category-page-header p {
    max-width: 800px;
    margin: 0;
    color: var(--gs-muted);
    font-size: 16px;
    line-height: 1.7;
}

.category-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.category-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: #f8fafc;
    border: 1px solid var(--gs-border);
    border-radius: 999px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.category-page-meta i {
    color: var(--gs-primary);
}

.category-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.category-section-heading h2 {
    margin: 5px 0 5px;
    color: var(--gs-text-dark);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -.5px;
}

.category-section-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--gs-muted);
    font-size: 14px;
    line-height: 1.65;
}

.category-tool-card {
    display: flex;
    height: 100%;
    gap: 16px;
    padding: 22px;
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.category-tool-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: var(--gs-shadow-hover);
}

.category-tool-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.2);
    outline-offset: 3px;
}

.category-tool-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gs-primary-light);
    border-radius: 13px;
    color: var(--gs-primary);
    font-size: 21px;
}

.category-tool-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.category-tool-content h2 {
    margin: 1px 0 8px;
    color: var(--gs-text-dark);
    font-size: 17px;
    font-weight: 780;
    line-height: 1.35;
}

.category-tool-content p {
    margin: 0 0 15px;
    color: var(--gs-muted);
    font-size: 13px;
    line-height: 1.65;
}

.category-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    color: var(--gs-primary);
    font-size: 12px;
    font-weight: 750;
}

.category-tool-link i {
    transition: transform .2s ease;
}

.category-tool-card:hover .category-tool-link i {
    transform: translateX(4px);
}

.category-ad-wrap {
    margin-top: 34px;
}

.category-info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 34px;
    padding: 22px;
    background: #f8fafc;
    border: 1px solid var(--gs-border);
    border-radius: 16px;
}

.category-info-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gs-primary-light);
    border-radius: 11px;
    color: var(--gs-primary);
    font-size: 18px;
}

.category-info-box h2 {
    margin: 0 0 5px;
    color: var(--gs-text-dark);
    font-size: 17px;
    font-weight: 780;
}

.category-info-box p {
    margin: 0;
    color: var(--gs-muted);
    font-size: 13px;
    line-height: 1.7;
}

.category-empty-state {
    padding: 50px 24px;
    text-align: center;
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: 20px;
}

.category-empty-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--gs-primary-light);
    border-radius: 16px;
    color: var(--gs-primary);
    font-size: 25px;
}

.category-empty-state h2 {
    margin-bottom: 8px;
    color: var(--gs-text-dark);
    font-size: 22px;
    font-weight: 800;
}

.category-empty-state p {
    max-width: 580px;
    margin: 0 auto 20px;
    color: var(--gs-muted);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 767.98px) {
    .category-page {
        padding: 22px 0 50px;
    }

    .category-page-header {
        gap: 15px;
        margin-bottom: 34px;
        padding: 20px;
        border-radius: 18px;
    }

    .category-page-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 14px;
        font-size: 22px;
    }

    .category-page-header h1 {
        font-size: 27px;
        letter-spacing: -.5px;
    }

    .category-page-header p {
        font-size: 14px;
    }

    .category-page-meta {
        gap: 7px;
        margin-top: 14px;
    }

    .category-page-meta span {
        padding: 6px 9px;
        font-size: 11px;
    }

    .category-section-heading {
        margin-bottom: 18px;
    }

    .category-tool-card {
        padding: 18px;
    }

    .category-info-box {
        padding: 18px;
    }
}

.tool-breadcrumb .breadcrumb {
    margin-bottom: 0;
    font-size: 13px;
}

.tool-breadcrumb .breadcrumb-item a {
    color: var(--gs-primary);
    font-weight: 650;
}

.tool-breadcrumb .breadcrumb-item.active {
    color: var(--gs-muted);
}
/* =========================================================
   USER FRIENDLY HTML SITEMAP
========================================================= */

.html-sitemap-page {
    padding: 30px 0 70px;
    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.06),
            transparent 28%
        ),
        var(--gs-bg);
}

.html-sitemap-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
    padding: 30px;
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: 22px;
    box-shadow: var(--gs-shadow);
}

.html-sitemap-header-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gs-primary-light);
    border-radius: 18px;
    color: var(--gs-primary);
    font-size: 28px;
}

.html-sitemap-header h1 {
    margin: 5px 0 8px;
    color: var(--gs-text-dark);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.html-sitemap-header p {
    max-width: 720px;
    margin: 0;
    color: var(--gs-muted);
    font-size: 15px;
    line-height: 1.7;
}

.html-sitemap-section-heading {
    margin-bottom: 22px;
}

.html-sitemap-section-heading h2 {
    margin: 5px 0;
    color: var(--gs-text-dark);
    font-size: 28px;
    font-weight: 800;
}

.html-sitemap-section-heading p {
    margin: 0;
    color: var(--gs-muted);
    font-size: 14px;
}

.html-sitemap-category-card {
    height: 100%;
    padding: 24px;
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.html-sitemap-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gs-border);
}

.html-sitemap-category-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gs-primary-light);
    border-radius: 13px;
    color: var(--gs-primary);
    font-size: 21px;
}

.html-sitemap-category-header h2 {
    margin: 0 0 3px;
    font-size: 18px;
    font-weight: 800;
}

.html-sitemap-category-header h2 a {
    color: var(--gs-text-dark);
    text-decoration: none;
}

.html-sitemap-category-header h2 a:hover {
    color: var(--gs-primary);
}

.html-sitemap-category-header span {
    color: var(--gs-muted);
    font-size: 12px;
    font-weight: 650;
}

.html-sitemap-category-description {
    margin: 17px 0;
    color: var(--gs-muted);
    font-size: 13px;
    line-height: 1.65;
}

.html-sitemap-tool-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.html-sitemap-tool-list li + li {
    border-top: 1px solid #f1f5f9;
}

.html-sitemap-tool-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 2px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
}

.html-sitemap-tool-list a > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.html-sitemap-tool-list a > span i {
    color: var(--gs-primary);
}

.html-sitemap-tool-list a > i {
    color: #94a3b8;
    transition: transform .2s ease;
}

.html-sitemap-tool-list a:hover {
    color: var(--gs-primary);
}

.html-sitemap-tool-list a:hover > i {
    transform: translateX(3px);
}

.html-sitemap-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--gs-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.html-sitemap-ad {
    margin: 34px 0;
}

.html-sitemap-static-section {
    margin-top: 46px;
}

.html-sitemap-static-card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 18px;
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.html-sitemap-static-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.html-sitemap-static-card > i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gs-primary-light);
    border-radius: 11px;
    color: var(--gs-primary);
    font-size: 18px;
}

.html-sitemap-static-card div {
    min-width: 0;
}

.html-sitemap-static-card strong {
    display: block;
    margin-bottom: 2px;
    color: var(--gs-text-dark);
    font-size: 14px;
}

.html-sitemap-static-card span {
    display: block;
    color: var(--gs-muted);
    font-size: 12px;
}

@media (max-width: 767.98px) {

    .html-sitemap-page {
        padding: 22px 0 50px;
    }

    .html-sitemap-header {
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 34px;
        padding: 20px;
        border-radius: 18px;
    }

    .html-sitemap-header-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 14px;
        font-size: 22px;
    }

    .html-sitemap-header h1 {
        font-size: 27px;
        letter-spacing: -.5px;
    }

    .html-sitemap-header p {
        font-size: 14px;
    }

    .html-sitemap-category-card {
        padding: 19px;
    }

    .html-sitemap-section-heading h2 {
        font-size: 24px;
    }
}

/* =========================================================
   CALCULATOR TOP ADVERTISEMENT
========================================================= */

.calculator-top-ad {
    margin: 0 0 28px;
}

.calculator-top-ad .ad-slot {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .calculator-top-ad {
        margin-bottom: 22px;
    }

    .calculator-top-ad .ad-slot {
        min-height: 90px;
    }
}


.site-logo {
    display: block;
    width: auto;
    height: 52px;
    max-width: 230px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .site-logo {
        height: 42px;
        max-width: 190px;
    }
}


/* =========================================================
   GintiSetu Footer
========================================================= */

.site-footer {
    background: #0f1f35;
    color: #cbd5e1;
    padding: 64px 0 0;
    margin-top: 70px;
}

.footer-brand {
    text-decoration: none;
}

.footer-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 260px;
    object-fit: contain;
}

.footer-description {
    max-width: 340px;
    margin-top: 18px;
    margin-bottom: 12px;
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}


/* Headings */

.footer-heading {
    position: relative;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 5px;
    background: #3164f4;
}


/* Links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.94rem;
    transition: color 0.2s ease,
                transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* Contact */

.footer-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 20px;
}

.footer-contact-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-contact a:hover {
    color: #ffffff;
}


/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 50px;
    padding: 24px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: #94a3b8;
    font-size: 0.88rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


/* Tablet */

@media (max-width: 991.98px) {

    .site-footer {
        padding-top: 50px;
    }

}


/* Mobile */

@media (max-width: 767.98px) {

    .site-footer {
        padding-top: 42px;
        margin-top: 50px;
    }

    .footer-logo {
        height: 50px;
        max-width: 225px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom {
        margin-top: 35px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        gap: 14px 20px;
    }

}