/* The very top level must fill the screen */
html, body, .base-layout {
    font-family: 'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    max-width: 100%;
}

html {
    /* All scrolling is on html only. overflow-y:scroll keeps the scrollbar permanently
       visible (no layout shift). overflow-x:hidden clips horizontal bleed. */
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    /* body must NOT have any overflow rule. Setting overflow-x:hidden on body forces
       the browser to promote overflow-y to 'auto', turning body into a second independent
       scroll container and producing the double-scrollbar. */
    min-height: 100%;
    width: 100%;
    position: relative;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.main-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

fluent-text-field {
    --control-corner-radius: 4; /* Example of other tokens */
    width: 100%;
}
.fluent-dialog-header {
    height: 0px !important;
    display: none !important
}

.fluent-dialog-footer {
    height: 0px !important;
    display: none !important;
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNs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1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.navbar a{
    text-decoration: none   ;
}

a {
    text-decoration: none !important;
    color:#012970;
    font-weight: 500;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    /* overflow-x:clip prevents horizontal bleed without creating a scroll container.
       Unlike overflow-x:hidden, 'clip' does NOT trigger the browser to promote
       overflow-y from 'visible' to 'auto' (CSS spec exclusion for 'clip'). */
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

section.hero-section {
    overflow: visible;
}

.container {
    max-width: 100%;
    overflow-x: clip;
}

.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.section-header {
    text-align: center;
    padding-bottom: 40px;
    color: #012970;
}
/*.section-header h2 {*/
/*    font-size: 13px;*/
/*    letter-spacing: 1px;*/
/*    font-weight: 700;*/
/*    margin: 0;*/
/*    color: #4154f1;*/
/*    text-transform: uppercase;*/
/*}*/
/*.section-header p {*/
/*    margin: 10px 0 0 0;*/
/*    padding: 0;*/
/*    font-size: 38px;*/
/*    line-height: 42px;*/
/*    font-weight: 700;*/
/*    color: #012970;*/
/*}*/
@media (max-width: 768px) {
    .section-header p {
        font-size: 28px;
        line-height: 32px;
    }
}

/* Awesome Loader styles for Blazor app */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    overflow: hidden;
}

.loader-overlay::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse-bg 4s ease-in-out infinite;
}

.loader-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 90%;
}

.loader-logo {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #4154f1 0%, #012970 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(65, 84, 241, 0.4);
    animation: bounce 2s ease-in-out infinite;
}

.logo-circle i {
    font-size: 36px;
    color: white;
}

.loader-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #012970 0%, #4154f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 1px;
}

.loading-progress-container {
    margin: 2rem 0 1.5rem;
}

.loading-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(65, 84, 241, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4154f1 0%, #667eea 50%, #4154f1 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    animation: shimmer 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(65, 84, 241, 0.5);
}

.loading-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: glow-slide 2s ease-in-out infinite;
}

.loading-percentage {
    margin-top: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4154f1;
}

.loading-progress-text {
    margin-top: 1.5rem;
    color: #012970;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.loading-progress-subtext {
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    background: #4154f1;
    border-radius: 50%;
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes glow-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

