@font-face {
    font-family: "Basis Grotesque Pro";
    src: url("/style/fonts/basis_grotesque/bold/basis-grotesque-bold-pro.eot");
    src: url("/style/fonts/basis_grotesque/bold/basis-grotesque-bold-pro.eot?#iefix") format("embedded-opentype"), url("../../Styles/fonts/basis_grotesque/bold/basis-grotesque-bold-pro.woff2") format("woff2"), url("../../Styles/fonts/basis_grotesque/bold/basis-grotesque-bold-pro.woff") format("woff"), url("../../Styles/fonts/basis_grotesque/bold/basis-grotesque-bold-pro.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Basis Grotesque Pro";
    src: url("/style/fonts/basis_grotesque/italic/basis-grotesque-italic-pro.eot");
    src: url("/style/fonts/basis_grotesque/italic/basis-grotesque-italic-pro.eot?#iefix") format("embedded-opentype"), url("../../Styles/fonts/basis_grotesque/italic/basis-grotesque-italic-pro.woff2") format("woff2"), url("../../Styles/fonts/basis_grotesque/italic/basis-grotesque-italic-pro.woff") format("woff"), url("../../Styles/fonts/basis_grotesque/italic/basis-grotesque-italic-pro.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Basis Grotesque Pro";
    src: url("/style/fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.eot");
    src: url("/style/fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.eot?#iefix") format("embedded-opentype"), url("../../Styles/fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.woff2") format("woff2"), url("../../Styles/fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.woff") format("woff"), url("../../Styles/fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Bagoss Condensed";
    src: url("/style/fonts/bagoss/light/BagossCondensed-Light.otf");
    src: url("/style/fonts/bagoss/light/BagossCondensed-Light.otf?") format("opentype"), url("../../Styles/fonts/bagoss/light/BagossCondensed-Light.woff2") format("woff2"), url("../../Styles/fonts/bagoss/light/BagossCondensed-Light.woff") format("woff"), url("../../Styles/fonts/bagoss/light/BagossCondensed-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Bagoss Condensed";
    src: url("/style/fonts/bagoss/regular/BagossCondensed-Regular.otf");
    src: url("/style/fonts/bagoss/regular/BagossCondensed-Regular.otf?") format("opentype"), url("../../Styles/fonts/bagoss/regular/BagossCondensed-Regular.woff2") format("woff2"), url("../../Styles/fonts/bagoss/regular/BagossCondensed-Regular.woff") format("woff"), url("../../Styles/fonts/bagoss/regular/BagossCondensed-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Bagoss Condensed";
    src: url("/style/fonts/bagoss/medium/BagossCondensed-Medium.otf");
    src: url("/style/fonts/bagoss/medium/BagossCondensed-Medium.otf?") format("opentype"), url("../../Styles/fonts/bagoss/medium/BagossCondensed-Medium.woff2") format("woff2"), url("../../Styles/fonts/bagoss/medium/BagossCondensed-Medium.woff") format("woff"), url("../../Styles/fonts/bagoss/medium/BagossCondensed-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

:root {
    --main-bg-color: #E8E4DD;
    --text-color: #4D5A32;
    --link-color: #4D5A32;
    --body-color: #4D5A32;
    --body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --border-color: #4D5A32;
    --btn-bg-color-primary: #AADDF9;
    --btn-disabled-bg-color-primary: #88b1c7;
    --btn-color-primary: #4D5A32;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--main-bg-color);
    color: var(--text-color);
    font-family: var(--body-font-family);
}

a, .btn-link {
    color: var(--link-color);
    font-weight: 500;
    text-decoration: underline;
}

.btn-primary {
    color: var(--btn-color-primary);
    background-color: var(--btn-bg-color-primary);
    border-color: transparent;
    font-weight: 500;
    border-radius: 50rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

    .btn-primary.disabled {
        color: var(--btn-color-primary);
        background-color: var(--btn-disabled-bg-color-primary);
        border-color: transparent;
    }

.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;
}

/* Start Nav link */

.nav-link {
    color: var(--text-color);
    cursor: pointer;
}

.nav-underline .nav-link {
    background-color: transparent;
    border: 1px solid var(--body-color);
    border-bottom: 4px solid var(--body-color);
    color: var(--body-color);
    border-radius: 10px;
    border-radius: 10px;
}

    .nav-underline .nav-link.active {
        border: 1px solid #5ba9e2;
        border-bottom: 4px solid #5ba9e2;
        color: #5ba9e2;
    }

/* End nav link */

.card {
    background-color: var(--main-bg-color);
    border-color: var(--border-color);
    border-radius: 0.5rem;
}


.card--expandable {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .card--expandable:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.card-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.card-arrow.rotate {
    transform: rotate(180deg);
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .card-details.show {
        max-height: 500px;
    }



/* Start form style */
.form-control,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea.form-control {
    background: transparent !important; /* transparent background */
    border: 1px solid var(--border-color); /* 1px border using CSS variable */
    border-radius: 9999px; /* fully rounded pill */
    padding: .5rem .75rem; /* adjust for visual balance */
    box-shadow: none; /* remove any bootstrap shadow */
    -webkit-appearance: none; /* iOS Safari reset */
    outline: none; /* we'll provide custom focus */
    transition: border-color .15s ease, box-shadow .15s ease;
    caret-color: var(--border-color);
    color: var(--body-color) !important;
}

    /* Focus / active state */
    .form-control:focus,
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="search"]:focus,
    input[type="password"]:focus,
    textarea.form-control:focus {
        border-color: var(--border-color);
        outline: none;
        box-shadow: 0 0 0 .2rem rgba(var(--primary-color-rgb), .15);
    }

/* When using input groups, remove extra border-radius on joined edges */
.input-group .form-control:first-child,
.input-group .form-control:last-child {
    border-radius: 9999px; /* keep pill shape, but you may need to tweak for groups */
}

/* Disabled / readonly states */
.form-control[disabled],
.form-control[readonly],
input[disabled],
textarea[disabled] {
    opacity: .6;
    background: transparent;
    cursor: not-allowed;
}

/* If Bootstrap's specificity still wins in your project, add a more specific selector.
   This avoids !important while ensuring override: */
body .form-control,
body input[type="text"] {
    /* repeat any properties you must force */
}

.form-check-input:checked {
    background-color: var(--border-color) !important;
    border-color: var(--border-color) !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem transparent, 0 0 0 0.25rem transparent;
}