@font-face {
    font-family: 'Lexend';
    src: url('../fonts/Lexend-Light.woff2') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('../fonts/Lexend-Regular.woff2') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('../fonts/Lexend-Medium.woff2') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('../fonts/Lexend-Semibold.woff2') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bootstrap Override - Apply Lexend font family to all Bootstrap elements */
body {
    font-family: 'Lexend', sans-serif !important;
    color: #001164 !important;
    background-color: #fff;
    font-weight: 400;
    line-height: 24px;
}

/* Logo styling */
.utonomy-logo {
    max-width: 300px;
    height: auto;
    display: block;
}

h1, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Lexend', sans-serif !important;
    font-weight: 600 !important;
    color: #0722A6 !important;
}

h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif !important;
    color: #0722A6 !important;
}

p, .lead {
    color: #001164 !important;
}

li {
    color: #001164 !important;
}


/* Custom iframe container styles */
.iframe-container {
    min-height: 850px;
}

iframe {
    height: 850px;
    border: none;
    margin-bottom: 10px;
}

/* Custom spinner styles */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #001164;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #001164 !important;
}

.error-message, .timeout-message {
    color: #001164 !important;
}

.error-message button {
    background-color: #001164;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 1rem;
}

.error-message button:hover {
    background-color: #000a3d;
}

/* Custom numbered list with circular indicators */
.custom-numbered-list {
    counter-reset: step-counter;
}

.custom-numbered-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 50px;
    color: #001164 !important;
}

.custom-numbered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: #CEDCFF;
    color: #001164;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    iframe {
        height: 850px;
        /* height: 600px !important; */
    }
    
    .iframe-container {
        height: 850px;
        /* min-height: 600px !important; */
    }
    
    .loader {
        height: 600px !important;
    }
    
    .utonomy-logo {
        max-width: 250px;
    }
}
