
:root {
    --primary-color: #000080;
    --secondary-color: #CFE5F3;
    --background-primary-color: #CFE5F3;
    --background-secondary-color: #FFFFFF;
    --font-primary-color: #000080;
    --font-secondary-color: #FFFFFF;
    --boarder-color: #FFFFFF;
    --alert-color: #FF0046;
    --disable-font: #CFE5F3;
    --label-font: #A9B2B9;
    --black-color: black;
    --white-color: white;

    /* Primary Brand Color: Trust & Stability (Light Blue) */
    --color-primary: #59a6ff;
    /* Secondary Color: Health & Calmness (Soft Green) */
    --color-secondary: #7ed9a8;
    /* Accent Color: Alert or Call-to-Action (Soft Teal or Aqua) 
     A brighter, but still soft, color for buttons/highlights */
    --color-accent: #20c997;
    /* Background Color: Cleanliness & Purity (Off-White/Very Light Gray) */
    --color-background: #f8faff;
    /* Surface Color: For Cards/Containers (Pure White) */
    --color-surface: #ffffff;
    /* Text Colors for High Contrast (Crucial for accessibility) */
    --color-text-primary: #212529; /* Dark/Near Black */
    --color-text-secondary: #6c757d; /* Medium Gray for secondary info */
    /* Alert/Danger Color (Used sparingly for errors/warnings) */
    --color-danger: #dc3545;
    /* Success Color (Used for completed actions) */
    --color-success: #28a745;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    overflow: auto;
}
    body::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }

.all, body {
    scrollbar-width: none; /* For Firefox */
}

.blurry-shapes-background {
    position: fixed; /* Fixed so it doesn't move when scrolling */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Hide anything that goes outside */
    z-index: -1; /* Keep it behind all content */
    background-color: #ffffff; /* Base white background */
}

/*
 * REVISED BASE CLASS: Removes border-radius
 */
.blurry-shape {
    position: absolute;
     border-radius: 50%;
    filter: blur(80px); /* CRITICAL: Adds the heavy blur effect for softness */
    opacity: 0.8; /* Slight opacity adjustment for layering effect */
}

    /* --- Shape 1: Top-Left Blue --- */
    .blurry-shape.blue {
        background-color: rgba(90, 160, 255, 0.4); /* Bluish color */
        width: 600px;
        height: 600px;
        top: -100px;
        left: -150px;
    }

    /* --- Shape 2: Top-Right Green --- */
    .blurry-shape.green-dark {
        background-color: rgba(89, 160, 102, 0.4); /* Greenish color */
        width: 800px;
        height: 800px;
        top: 0;
        right: -200px;
        /* Keeping the rotation adds an angular, non-vertical/horizontal shape */
        transform: rotate(15deg);
    }

    /* --- Shape 3: Bottom-Left Light Green --- */
    .blurry-shape.green-light {
        background-color: rgba(126, 209, 168, 0.4); /* Lighter green color */
        width: 700px;
        height: 700px;
        bottom: -150px;
        left: 50px;
    }

label {
    color: var(--label-font);
}

input, optgroup, select, textarea {
    background-color: transparent !important;
    border: none;
    width: 100%;
    padding: 8px 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        background-color: transparent !important;
        -webkit-text-fill-color: var(--color-text-primary, #212529) !important;
        border: none;
    }

textarea {
    border: none !important;
    /*border-bottom: 2px solid rgba(33, 37, 41, 0.4) !important;*/
    color: var(--color-text-primary, #212529) !important;
    padding: 5px 0 !important;
    width: 100%;
}

.generic-label {
    box-shadow: -3px 3px 8px -3px rgba(33, 37, 41, 0.4);
    padding-left: 5px;
    height: fit-content;
}

.generic-button {
    color: var(--color-text-primary) !important;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    margin: auto;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 20px rgba(33, 37, 41, 0.3);
    display: inline-block;
    height: auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    padding: 10px 20px;
    width: fit-content;
}

    .generic-button:hover {
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 8px 15px rgba(40, 167, 69, 0.5);
        transform: scale(1.02);
        border: 1px solid rgba(255, 255, 255, 0.6);
        cursor: pointer;
    }
    .generic-button:active, .generic-button::selection, .generic-button-selected {
        background: rgba(126, 217, 168, 0.5) !important;
        box-shadow: 0 10px 20px rgba(32, 201, 151, 0.3) !important;
        transform: scale(0.99) !important;
    }

.generic-label-input-container {
    display: grid;
    grid-template-areas:
        'textboxlabel'
        'textboxinput';
    grid-template-columns: 1fr;
    /*box-shadow: 0px 0 5px -2px rgba(33, 37, 41, 0.4);*/
    height: auto;
    position: relative;
}

    /* Optional: To match the hover effect you likely have on your text inputs */
    .generic-label-input-container:hover .generic-textbox-input {
        border-bottom: 2px solid rgba(33, 37, 41, 0.8) !important;
    }

    generic-label-input-container .generic-textbox-label {
        grid-area: textboxlabel;
        width: 100%;
        color: #333;
        font-size: 1.1em;
        font-weight: 700; /* Very bold */
        background: transparent;
        /*padding: 0;
        padding-left: 2px;*/
        margin-bottom: 5px;
        display: block;
    }

    generic-label-input-container .generic-textbox-input {
        grid-area: textboxinput;
        width: 100%;
        border-bottom: 2px solid rgba(33, 37, 41, 0.4) !important;
    }

select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1.1em;
    padding: 8px 0;
    outline: none;
/*    -webkit-appearance: none;*/
/*    -moz-appearance: none;*/
/*    appearance: none;*/
}

.transparent-input {
    /*    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(207,229,243, 0.4) !important;
    color: var(--color-text-primary, #212529) !important;
    padding: 5px 0 !important;*/
    text-align: center;
}
    .transparent {
    background-color: transparent !important;
}

.centered {
    width: 55%;
    margin: 0 auto;
}

.label-input-grid-container {
    display: grid;
    grid-template-areas:
        'labelgriditem'
        'itemgriditem';
    grid-template-columns: 1fr;
    column-gap: 2vw;
}

.label-grid-item {
    grid-area: labelgriditem;
}

.input-grid-item {
    grid-area: itemgriditem;
}

.primary-button {
    /* Base Button Style */
    background-color: var(--color-primary, #59a6ff); /* Filled with your primary blue */
    color: var(--color-surface, #ffffff); /* White text on the blue background */
    border: 1px solid var(--color-primary, #59a6ff); /* A subtle border matching the background */
    padding: 10px 25px; /* Generous padding for a good touch target */
    border-radius: 8px; /* Slightly rounded corners for a modern, soft feel */
    font-size: 1em; /* Standard font size */
    font-weight: 600; /* Slightly bolder text */
    cursor: pointer; /* Indicates it's clickable */
    text-decoration: none; /* In case it's used on an anchor tag */
    display: inline-block; /* Allows padding and width, respects text-align */
    transition: all 0.2s ease-in-out; /* Smooth transitions for hover effects */
    /* Optional: Add a subtle shadow for depth, matching the light aesthetic */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover State: When the user mouses over the button */
    .primary-button:hover {
        background-color: #509ceb;
        border-color: #509ceb;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly larger shadow */
        transform: translateY(-1px); /* A subtle lift effect */
    }

/* Active State: When the button is being clicked */
    .primary-button:active {
        background-color: #4499e6;
        border-color: #4499e6;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(0); /* Sinks back down */
    }

/* Disabled State: For when the form is submitting or button is not clickable */
.primary-button:disabled {
    background-color: var(--color-text-secondary, #6c757d); /* Muted gray */
    border-color: var(--color-text-secondary, #6c757d);
    color: var(--color-background, #f8faff); /* Light text */
    cursor: not-allowed; /* Indicates it's not clickable */
    opacity: 0.7; /* Slightly faded */
    box-shadow: none;
    transform: none;
}

/* end of disgn css */
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;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}
