@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: "Espion Rounded";
    src: url("/CDC-Project-updated/fonts/EspionRounded-Regular.woff2") format("woff2"),
        url("/CDC-Project-updated/fonts/EspionRounded-Regular.ttf") format("ttf");

}

:root {
    /* Neutral Colors (Zinc) */
    --color-gray: #4F4F4F;
    --color-black: #555555;
    --color-navbar: #E9E8E8;
    --color-banner: #F3F3F3;
    --color-footer-bg: #EEEEEE;
    --color-white: #FFFFFF;
    --color-transparent: transparent;
    --color-dim: #C4C4C4;
    --border-line: #AFBACA;
    --color-page-link: #858C94;
    --color-text-black: #000000;
    --color-gray-placeholder: #8897AE;
    --color-text-black: #000000;
    --color-gray-placeholder: #8897AE;
    --color-gray-placeholderindex: #BDBDBD;
    --color-gray-servicesindexborder: #D9D9D9;
    --color-gray-placeholder: #8897AE;
    --color-gray-placeholderindex: #BDBDBD;
    --color-gray-servicesindexborder: #D9D9D9;
    --color-gray-profile: #3D4A5C;
    --color-blue-bg: #18284C;
    --color-green-bg: #72984D;
    --star-color-yellow:#F2C94C;

    /* Neutral Colors (Zinc) */
    --color-neutral-50: #FAFAFA;
    --color-neutral-75: #F8F8F9;
    --color-neutral-100: #F4F4F5;
    --color-neutral-200: #E4E4E7;
    --color-neutral-300: #D4D4D8;
    --color-neutral-400: #9F9FA9;
    --color-neutral-500: #71717B;
    --color-neutral-600: #52525C;
    --color-neutral-700: #3F3F46;
    --color-neutral-800: #27272A;
    --color-neutral-900: #18181B;
    --color-neutral-950: #09090B;
    --color-white: #FFFFFF;
    /* Primary Brand Colors (Red) */
    --color-red-50: #FEF2F2;
    --color-red-100: #FFE2E2;
    --color-red-200: #FFC9C9;
    --color-red-300: #FFA2A2;
    --color-red-400: #FF6467;
    --color-red-500: #FB2C36;
    --color-red-600: #E7000B;
    --color-red-700: #C10007;
    --color-red-800: #9F0712;
    --color-red-900: #82181A;
    --color-red-950: #460809;

    /* Green Colors */
    --color-green-50: #F0FDF4;
    --color-green-100: #DBFCE7;
    --color-green-200: #B9F8CF;
    --color-green-300: #7BF1A8;
    --color-green-400: #05DF72;
    --color-green-500: #00C950;
    --color-green-600: #00A63E;
    --color-green-700: #008235;
    --color-green-800: #016630;
    --color-green-900: #0D542B;
    --color-green-950: #032E15;

    /* Blue Colors */
    --color-blue-50: #EFF6FF;
    --color-blue-100: #DBEAFE;
    --color-blue-200: #BEDBFF;
    --color-blue-300: #8EC5FF;
    --color-blue-400: #50A2FF;
    --color-blue-500: #2B7FFF;
    --color-blue-600: #155DFC;
    --color-blue-700: #1447E6;
    --color-blue-800: #193CB8;
    --color-blue-900: #1C398E;
    --color-blue-950: #162456;

    /* Yellow Colors */
    --color-yellow-50: #FFFBEB;
    --color-yellow-100: #FEF3C6;
    --color-yellow-200: #FEE685;
    --color-yellow-300: #FFD230;
    --color-yellow-400: #FFB900;
    --color-yellow-500: #FE9A00;
    --color-yellow-600: #E17100;
    --color-yellow-700: #BB4D00;
    --color-yellow-800: #973C00;
    --color-yellow-900: #7A3306;
    --color-yellow-950: #461901;



    /* Semantic Aliases */
    --color-primary: var(--color-gray);
    --color-primary-hover: var(--color-transparent);
    --color-secondary: var(--color-black);
    --color-secondary-hover: var(--color-transparent);
    --color-outline-primary: var(--color-gray);
    --color-outline-secondary: var(--color-black);


    /* Typography */
    --font-family: "Inter", sans-serif;
    --font-espisom: "Espion Rounded", sans-serif;
    /* Borders & Effects */
    --border-radius:8px;
    --border-radius-lg: 8px;
    --border-radius-md: 6px;
    --color-outline: var(--color-gray);

    /* Font Size */
    --bs-nav-link-font-size: 14px;

}
/* button-color and size */
.btn-210-blue {
      background-color: var( --color-blue-bg) !important;
      min-width: 210px !important;
    }
 .btn-210-green {
        background-color: var( --color-green-bg) !important;
      width: 210px !important;
      border-color:#72984D ;
    }
.btn-168-blue {
      background-color: var( --color-blue-bg) !important;
      width: 168px !important;
    }
 .btn-168-green {
          background-color: var( --color-green-bg) !important;
      min-width: 168px !important;
      border-color:#72984D ;
    }

.color-dim {
    color: var(--color-dim);
}

.text-services-color {
    color: var(--color-page-link);
}

body {
    font-family: var(--font-family);
    color: var(--color-text-black);
    background-color: var(--color-white);
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Styles */
/* Font Size Utility Classes */
.text-60 {
    font-size: 60px !important;
}

.text-48 {
    font-size: 48px !important;
}

.text-40 {
    font-size: 40px !important;
}

.text-24 {
    font-size: 24px !important;
}

.text-20 {
    font-size: 20px !important;
}

.text-18 {
    font-size: 18px !important;
}

.text-16 {
    font-size: 16px !important;
}

.text-14 {
    font-size: 14px !important;
}

/* Font Weight Utility Classes */
.font-bold-700 {
    font-weight: 700 !important;
}

.font-semibold-600 {
    font-weight: 600 !important;
}

.font-medium-500 {
    font-weight: 500 !important;
}

.font-regular-400 {
    font-weight: 400 !important;
}

/* Heading base styles with !important to ensure they override Bootstrap */
h1,
.h1 {
    font-size: 60px;
    font-weight: 700;
}

h2,
.h2 {
    font-size: 45px;
    font-weight: 600;
}

h3,
.h3 {
    font-size: 30px;
    font-weight: 700;
}

h4,
.h4 {
    font-size: 24px;
    font-weight: 600;
}

h5,
.h5 {
    font-size: 20px;
    font-weight: 600;
}

h6,
.h6 {
    font-size: 18px;
    font-weight: 600;
}

/* Paragraph base styles */
p {
    font-size: 18px;
    font-weight: 400 !important;
}

.paragraph-lg {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.paragraph-md {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.paragraph-sm {
    font-size: 14px !important;
    font-weight: 400 !important;
}


/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-family);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gray);
    color: var(--color-white);
    border: 1px solid var(--color-gray);
    font-size: 16px;
    min-width: 165px;
}

.btn-secondary {
    background-color: var(--color-transparent);
    color: var(--color-gray);
    border: 1px solid var(--color-gray);
    font-size: 16px;
    min-width: 165px;
}

.btn-outline {
    background-color: var(--color-transparent);
    color: var(--color-gray);
    border: 2px solid var(--color-gray);
    font-size: 16px;
    min-width: 165px;
}

.nav-link {
    padding: 0 30px;
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
}

.section-topic {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-family: var(--font-family);
}

.section-topic h2 {
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    white-space: nowrap;
}

.section-topic .line {
    flex-grow: 1;
    height: 1px;
    background-color: #999;
    margin-left: 10px;
}

.text-architect-heading-colr{
color: var(--color-blue-bg);
}


.style-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-neutral-200);
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-neutral-950);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.subsection {
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-neutral-900);
    margin-bottom: 1.5rem;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.component-card {
    background: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.component-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-neutral-900);
    margin-bottom: 1rem;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.color-swatch {
    height: 80px;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    padding: 0.5rem;
}

.color-swatch.light {
    color: var(--color-neutral-900);
}

.color-name {
    font-size: 14px;
    color: var(--color-neutral-600);
    margin-bottom: 0.25rem;
}

.color-value {
    font-size: 12px;
    color: var(--color-neutral-500);
    font-family: var(--font-family);
}

/* custom-design */

.input-box {
    width: 84px;
    height: 34px;
    text-align: start;
    border: 1px solid #adb5bd;
    border-radius: 6px;
    padding: 12px 12px;
    font-weight: 500;
    color: var(--color-page-link);
    font-family: var(--font-family);
}

.dash {
    margin: 0 10px;
    font-weight: bold;
}

.circle-btn {
    width: 34px;
    height: 35px;
    border-radius: var(--border-radius-md);
    border: none;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.circle-btn:hover {
    background-color: #d6d6d6;
}

.circle-btn i {
    font-size: 20px;
    color: var(--color-page-link);
}


/* sustom-fliter-check box */
.custom-checkbox__checkmark-filter {
    width: 21px;
    height: 21px;
    background-color: var(--color-white);
    border: 1px solid var(--color-page-link);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.custom-checkbox__label-filter {
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--color-page-link);
    font-size: 16px;
    line-height: 100%;



}

/* counter-custom */
.counter {
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #dadada;
}

.counter button {
    width: 40px;
    height: 40px;
    border: none;
    background: #dadada;
    font-size: 20px;
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.counter input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 18px;
    font-weight: bold;
    outline: none;
}

#increment i,
#decrement i {
    font-size: 30px;
}

.role-options .form-check {
    margin-right: 20px;
}
.role-options .form-check:last-child {
    margin-right: 0;
}

.role-options .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    margin-right: 6px;
    cursor: pointer;
}

.role-options .form-check-label {
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}
























.text-white {
    color: var(--color-white);
    fill: var(--color-white);
}

.btn-sm {
    padding: 8px 12px;
    font-size: 14px;
}

.btn {
    padding: 10px 18px;
    font-size: 16px;
}

.btn-lg {
    padding: 16px 18px;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--color-gray);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-gray);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-outline);
    border: 1px solid var(--color-outline);
}

.btn-outline:hover {
    background-color: var(--color-outline);
    color: var(--color-neutral-950);
}

/* Badge Styles */
.badge {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.badge-neutral {
    background-color: var(--color-neutral-900);
    color: var(--color-white);
}

.badge-green {
    background-color: var(--color-green-700);
    color: var(--color-white);
}

.badge-blue {
    background-color: var(--color-blue-600);
    color: var(--color-white);
}

.badge-amber {
    background-color: var(--color-yellow-600);
    color: var(--color-white);
}

/* Form Styles */
.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-profile);
    margin-bottom: 0.5rem;
    display: block;
}

/* .form-label.required::after {
    content: " *";
    color: var(--color-red-600);
} */

.form-control {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-gray-placeholder);
    background-color: var(--color-white);
    border: 1px solid var(--border-line);
    border-radius: var(--border-radius-lg);
    padding: 0.65rem 1rem;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-blue-500);
    box-shadow: 0 0 0 0.2rem rgba(43, 127, 255, 0.1);
}

/* Checkbox Styles */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-neutral-900);
    position: relative;
}

.custom-checkbox__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox__checkmark {
    width: 18px;
    height: 18px;
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    border-radius: 0;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.custom-checkbox__input:checked~.custom-checkbox__checkmark {
    background-color: #333333;
    border-color: #333333;
}

.form-select:focus {
    box-shadow: none;

}

.form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    color: var(--color-gray-placeholder)
}

.custom-checkbox__checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox__input:checked~.custom-checkbox__checkmark::after {
    display: block;
}

/* Green Checkbox */
.custom-checkbox--green .custom-checkbox__input:checked~.custom-checkbox__checkmark {
    background-color: var(--color-green-600);
    border-color: var(--color-green-600);
}

/* Red Checkbox */
.custom-checkbox--red .custom-checkbox__input:checked~.custom-checkbox__checkmark {
    background-color: var(--color-red-600);
    border-color: var(--color-red-600);
}



/* Pagination Styles */
.custom-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 1.6rem 0.75rem;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
    color: var(--color-page-link);
    background-color: var(--color-white);
    font-family: var(--font-family);
    border: 0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.page-link.active {
    color: var(--color-text-black);
    background-color: transparent !important;
    border-bottom: 1px solid #000;
    border-radius: 0;
    font-weight: 500;
}

.page-item:first-child .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(0 0 0 / 22%);
    padding: 0;
}

.page-item:last-child .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(0 0 0 / 22%);
    padding: 0;
}

.page-link--ellipsis {
    background-color: transparent;
    border: none;
    color: var(--color-neutral-500);
}

.page-input {
    width: 80px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 14px;
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--border-radius);
}

/* Utility Classes */
.text-56 {
    font-size: 56px;
}

.text-48 {
    font-size: 48px;
}

.text-40 {
    font-size: 40px;
}

.text-24 {
    font-size: 24px;
}

.text-20 {
    font-size: 20px;
}

.text-18 {
    font-size: 18px;
}

.text-16 {
    font-size: 16px;
}

.text-14 {
    font-size: 14px;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-regular {
    font-weight: 400;
}

.bg-dark {
    background-color: var(--color-neutral-950) !important;
    color: var(--color-white);
}

.demo-box {
    background: var(--color-neutral-50);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Custom Accordion Styles to match the design */
.custom-accordion {
    --bs-accordion-border-color: var(--color-neutral-200);
    --bs-accordion-border-radius: var(--border-radius);
    --bs-accordion-inner-border-radius: calc(var(--border-radius) - 1px);
}

.custom-accordion .accordion-button {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-neutral-950);
    background-color: var(--color-white);
    padding: 1.25rem 1.5rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--color-neutral-950);
    background-color: var(--color-white);
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2309090B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2309090B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.custom-accordion .accordion-body {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-neutral-700);
    padding: 0 1.5rem 1.5rem;
    line-height: 32px;
}

.custom-accordion .accordion-item {
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
}

.custom-accordion .accordion-item:last-child {
    margin-bottom: 0;
}



.btn:focus {
    outline: 2px solid var(--color-gray);

}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    height: 2rem;
}

.btn {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    height: 2.5rem;
}

.btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1.125rem;
    height: 3rem;
}

/* Primary Button */
.btn-primary {
    background-color: var(--color-gray);
    color: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--color-gray);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(231, 0, 11, 0.15);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--color-secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(39, 39, 42, 0.15);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    color: var(--color-gray);
    border: 1px solid var(--color-gray);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--color-neutral-50);
    border-color: var(--color-neutral-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-outline:active:not(:disabled) {
    transform: translateY(0);
}

/* Text Button */
.btn-text {
    background-color: transparent;
    color: var(--color-primary);
    padding: 0.5rem 0.75rem;
}

.btn-text:hover:not(:disabled) {
    background-color: var(--color-red-50);
}

/* Success Button */
.btn-success {
    background-color: var(--color-green-600);
    color: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-success:hover:not(:disabled) {
    background-color: var(--color-green-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(5, 122, 85, 0.15);
}

/* Danger Button */
.btn-danger {
    background-color: var(--color-red-600);
    color: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-danger:hover:not(:disabled) {
    background-color: var(--color-red-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(231, 0, 11, 0.15);
}

/* With Icon */
.btn-icon {
    width: 2.5rem;
    padding: 0;
    justify-content: center;
}

.btn-icon.btn-sm {
    width: 2rem;
}

.btn-icon.btn-lg {
    width: 3rem;
}

/* Full Width */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* Breakpoints (same logic we used everywhere) */
@media (min-width: 992px) {
    :root {
        --bp: desktop;
    }
}

/* ≥992 */
@media (min-width: 768px) and (max-width: 991.98px) {
    :root {
        --bp: tablet;
    }
}

@media (max-width: 767.98px) {
    :root {
        --bp: mobile;
    }
}

/* ---------- Base body ---------- */
:root {
    --fs-body-d: 14.5px;
    /* desktop */
    --fs-body-t: 14px;
    /* tablet */
    --fs-body-m: 14px;
    /* mobile */
    --lh-body: 1.6;
}

/* ---------- Modal: Provider ---------- */
:root {
    /* Header title (“Provider Name”) */
    --fs-prov-title-d: 20px;
    --fs-prov-title-t: 20px;
    --fs-prov-title-m: 18px;

    /* Meta rows (url, location) */
    --fs-prov-meta-d: 14px;
    --fs-prov-meta-t: 14px;
    --fs-prov-meta-m: 13.5px;

    /* Tabs (“Overview”, “AI–Generated Insights”) */
    --fs-prov-tab-d: 14px;
    --fs-prov-tab-t: 14px;
    --fs-prov-tab-m: 13.5px;

    /* Section title (“About This Provider”) */
    --fs-prov-section-d: 18px;
    --fs-prov-section-t: 17px;
    --fs-prov-section-m: 16px;

    /* Subheads inside AI tab (“Key Strengths”) */
    --fs-prov-subhead-d: 14px;
    --fs-prov-subhead-t: 14px;
    --fs-prov-subhead-m: 13.5px;

    /* Chip/badge label text */
    --fs-chip-d: 16px;
    --fs-chip-t: 15px;
    --fs-chip-m: 14px;
}

/* ---------- Cards (grid) ---------- */
:root {
    --fs-card-title-d: 16px;
    --fs-card-title-t: 16px;
    --fs-card-title-m: 15px;

    --fs-card-link-d: 13.5px;
    --fs-card-link-t: 13.5px;
    --fs-card-link-m: 13px;

    --fs-card-body-d: 13.5px;
    --fs-card-body-t: 13.5px;
    --fs-card-body-m: 13px;

    --fs-card-cta-d: 14px;
    /* Details button */
    --fs-card-cta-t: 14px;
    --fs-card-cta-m: 13.5px;
}

/* ---------- Search header + count + chips ---------- */
:root {
    --fs-search-input-d: 16px;
    --fs-search-input-t: 16px;
    --fs-search-input-m: 15px;

    --fs-result-count-d: 16px;
    --fs-result-count-t: 16px;
    --fs-result-count-m: 15px;
}

/* Apply per breakpoint */
@media (min-width: 992px) {
    body {
        font-size: var(--fs-body-d);
        line-height: var(--lh-body);
    }

    .provider-modal .title {
        font-size: var(--fs-prov-title-d);
    }

    .provider-modal .meta {
        font-size: var(--fs-prov-meta-d);
    }

    .provider-tabs .nav-link {
        font-size: var(--fs-prov-tab-d);
    }

    .provider-modal .section-title {
        font-size: var(--fs-prov-section-d);
    }

    .provider-modal .subhead {
        font-size: var(--fs-prov-subhead-d);
    }

    .badge {
        font-size: var(--fs-chip-d);
    }

    .listing-card .card-title {
        font-size: var(--fs-card-title-d);
    }

    .listing-card a {
        font-size: var(--fs-card-link-d);
    }

    .listing-card .card-text {
        font-size: var(--fs-card-body-d);
    }

    .listing-card .btn {
        font-size: var(--fs-card-cta-d);
    }

    .searchbar input {
        font-size: var(--fs-search-input-d);
    }

    .list-head .count {
        font-size: var(--fs-result-count-d);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        font-size: var(--fs-body-t);
        line-height: var(--lh-body);
    }

    .provider-modal .title {
        font-size: var(--fs-prov-title-t);
    }

    .provider-modal .meta {
        font-size: var(--fs-prov-meta-t);
    }

    .provider-tabs .nav-link {
        font-size: var(--fs-prov-tab-t);
    }

    .provider-modal .section-title {
        font-size: var(--fs-prov-section-t);
    }

    .provider-modal .subhead {
        font-size: var(--fs-prov-subhead-t);
    }

    .badge {
        font-size: var(--fs-chip-t);
    }

    .listing-card .card-title {
        font-size: var(--fs-card-title-t);
    }

    .listing-card a {
        font-size: var(--fs-card-link-t);
    }

    .listing-card .card-text {
        font-size: var(--fs-card-body-t);
    }

    .listing-card .btn {
        font-size: var(--fs-card-cta-t);
    }

    .searchbar input {
        font-size: var(--fs-search-input-t);
    }

    .list-head .count {
        font-size: var(--fs-result-count-t);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: var(--fs-body-m);
        line-height: var(--lh-body);
    }

    .provider-modal .title {
        font-size: var(--fs-prov-title-m);
    }

    .provider-modal .meta {
        font-size: var(--fs-prov-meta-m);
    }

    .provider-tabs .nav-link {
        font-size: var(--fs-prov-tab-m);
    }

    .provider-modal .section-title {
        font-size: var(--fs-prov-section-m);
    }

    .provider-modal .subhead {
        font-size: var(--fs-prov-subhead-m);
    }

    .badge {
        font-size: var(--fs-chip-m);
    }

    .listing-card .card-title {
        font-size: var(--fs-card-title-m);
    }

    .listing-card a {
        font-size: var(--fs-card-link-m);
    }

    .listing-card .card-text {
        font-size: var(--fs-card-body-m);
    }

    .listing-card .btn {
        font-size: var(--fs-card-cta-m);
    }

    .searchbar input {
        font-size: var(--fs-search-input-m);
    }

    .list-head .count {
        font-size: var(--fs-result-count-m);
    }
}
