:root {

    --primary-color: #E4002B;        /* Main SP color */
    --primary-color-light: #F17E93;  /* Lightened SP color for disabled states */
    --primary-color-dark: #B90224; /* Darker secondary color (hover) */
    --primary-on-color: #FDFCFC;     /* Text color on SP color */


    --secondary-color: #ABC5BB;      /* Secondary color */
    --secondary-color-light: #D4E1DB;/* Disabled secondary color */
    --secondary-color-dark: #899E96; /* Darker secondary color (hover) */
    --secondary-on-color: #0B0909; /* Text color on secondary color */


    --light-gray: #CDCBCB;           /* Light gray for subtle background elements */
    --background-color: #FDFCFC;     /* General background color */
    --font-color: #0B0909;            /* Default text color (dark) */

    --font-family: 'Roboto', sans-serif;  /* Default font family */
}

/* H1 */
h1 {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 3.125rem; /* 50px */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* H2 */
h2 {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 2.375rem; /* 38px */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* H3 */
h3 {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 1.75rem; /* 28px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* H4 */
h4 {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 1.3125rem; /* 21px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-feature-settings: 'liga' off, 'clig' off;
}

/* H5 */
h5 {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 0.75rem; /* 12px */
    font-style: normal;
    font-weight: 500;
    line-height: 0.875rem; /* 14px, 116.667% */
    letter-spacing: 0.06rem;
    text-transform: uppercase;
}

/* Paragraph (p) */
p {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 1rem; /* 16px */
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 20px, 125% */
}

/* Small text */
small {
    color: var(--font-color, #0B0909);
    font-family: var(--font-family), sans-serif;
    font-size: 0.75rem; /* 12px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Buttons */
/* Default Primary Button */
button.primary-btn {
    display: inline-flex;
    padding: 0.9375rem 3.75rem;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: var(--primary-color);
    color: var(--primary-on-color);
    font-family: var(--font-family), sans-serif;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Hover Primary Button */
button.primary-btn:hover {
    background: var(--primary-color-dark);
}

/* Disabled Primary Buttob */
button.primary-btn:disabled {
    background: var(--primary-color-light,);
    color: var(--primary-on-color);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Default Secondary Button */
button.secondary-btn {
    display: inline-flex;
    padding: 0.9375rem 3.75rem;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: var(--secondary-color);
    color: var(--primary-on-color);
    font-family: var(--font-family), sans-serif;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Hover State */
button.secondary-btn:hover {
    background: var(--secondary-color-dark);
}

/* Disabled State */
button.secondary-btn:disabled {
    background: var(--secondary-color-light);
    color: var(--font-color);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Third Button (alternative-btn) */
button.alternative-btn {
    display: inline-flex;
    padding: 0.9375rem 3.75rem;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: var(--background-color);
    color: var(--font-color);
    font-family: var(--font-family), sans-serif;
    font-weight: 500;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Hover State for alternative-btn */
button.alternative-btn:hover {
    background: var(--background-color);
    border: 1px solid var(--secondary-color-dark);
}

/* Disabled State */
button.alternative-btn:disabled {
    background: var(--secondary-color-light);
    color: var(--font-color);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Small Primary Button */
button.small-btn {
    display: inline-flex;
    padding: 0.25rem 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: var(--primary-color);
    color: var(--primary-on-color);
    font-family: var(--font-family), sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 400;
    line-height: 1.25rem; /* 20px */
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    word-wrap: break-word;
}

/* Hover Small Button */
button.small-btn:hover {
    background: var(--primary-color-dark);
}

/* Disabled Small Button */
button.small-btn:disabled {
    background: var(--primary-color-light);
    color: var(--primary-on-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.top-red-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 300px;
    background: #c9002b;
    z-index: -4;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem var(--secondary-color) !important;
    outline: none !important;

}


button.chip-btn {
    background: var(--background-color);
    color: var(--font-color);
    font-family: var(--font-family), sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--font-color);
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

button.chip-btn:hover {
    background: var(--primary-color-dark);
    color: var(--primary-on-color);
    border:  1px solid var(--primary-color-dark);
}

button.chip-btn.selected {
    background: var(--primary-color);
    color: var(--primary-on-color);
    border:  1px solid var(--primary-color);
}
