﻿
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue-teal: #2D4450;
}

.home-container {
    max-width: 1465px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
}

html, body, h1, h2, h3, h4, h5, h6, .k-widget, .k-button, .k-input, .k-label, .k-tabstrip-items, .k-tabstrip-content, .btn, .form-control, .card, .navbar, .dropdown-menu {
    font-family: 'Inter', !important;
}

.custom-label {
    font-size: 12pt;
    font-family: 'Inter';
}

.font-georgia {
    font-family: Georgia, serif !important;
}

.text-primary-custom {
    color: #0C213C !important;
}

.text-secondary-custom {
    color: #5F7582 !important;
}

input,
textarea,
select,
.k-input,
.form-control {
    border-color: #D1C4B8 !important;
    border-radius: 0 !important;
    border-width: 1.34px !important;
}

    input:focus,
    textarea:focus,
    select:focus,
    .k-input:focus,
    .form-control:focus {
        border-color: #D1C4B8 !important;
        box-shadow: 0 0 0 0.05rem #D1C4B8 !important;
        border-radius: 0 !important;
        border-width: 1.34px !important;
        outline: none !important;
    }

    /* Style radios consistently */
    input[type="radio"],
    .k-radio {
        border-radius: 50% !important;
        border-color: #D1C4B8 !important;
        border-width: 1.34px !important;
    }

        /* Custom focus glow for radios */
        input[type="radio"]:focus,
        .k-radio:focus,
        input[type="radio"]:checked:focus,
        .k-radio:checked:focus {
            outline: none !important;
            box-shadow: 0 0 0 0.1rem #D1C4B8 !important;
            border-color: #D1C4B8 !important;
        }

    /* Style checkboxes consistently */
    input[type="checkbox"],
    .k-checkbox {
        border-radius: 0 !important; 
        border-color: #D1C4B8 !important;
        border-width: 1.34px !important;
    }

        /* Custom focus glow for checkboxes */
        input[type="checkbox"]:focus,
        .k-checkbox:focus,
        input[type="checkbox"]:checked:focus,
        .k-checkbox:checked:focus {
            outline: none !important;
            box-shadow: 0 0 0 0.1rem #D1C4B8 !important;
            border-color: #D1C4B8 !important;
        }

.k-tabstrip-content .k-active {
    border: 1px solid #D1C4B8;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }

.loading-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
    background-color: transparent;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
    }

        .loading-progress circle:last-child {
            stroke: var(--dark-blue-teal, #0C213C);
            stroke-dasharray: 440; /* This is approximately the circumference of the circle (2 * pi * r, where r is 70, the radius of the circle) */
            stroke-dashoffset: 440; /* Start with the stroke fully offset (so the circle appears empty) */
            animation: rotate 2s linear infinite, progress 2s ease-in-out infinite;
        }

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes progress {
    100% {
        stroke-dashoffset: 0; /* End with no offset (so the circle appears full) */
    }
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    top: 50%; /* Position the top edge in the middle of the element */
    left: 50%; /* Position the left edge in the middle of the element */
    transform: translate(-50%, -50%); /* Shift the element up and left by half its height and width */
    width: 100%; /* Ensure the text spans the full width of the parent */
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/*Loader Style for Grids*/
.loading-progress-telerik {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 1rem auto;
    background-color: transparent;
}

    .loading-progress-telerik circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress-telerik circle:last-child {
            stroke: var(--dark-blue-teal, #0C213C);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-telerik-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    color: var(--dark-blue-teal, #0C213C);
    inset: calc(1rem + 4.5rem) 0 auto 0.25rem;
}

    .loading-progress-telerik-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.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;
}



.k-checkbox.k-invalid {
    border-color: #f31700 !important;
}

.k-checkbox.k-state-invalid {
    border-color: #f31700 !important;
}

.text-danger {
    color: #f31700;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.ls-3 {
    letter-spacing: 3px;
}

.ls-4 {
    letter-spacing: 4px;
}

.ls-5 {
    letter-spacing: 5px;
}

.ls-6 {
    letter-spacing: 6px;
}

.ls-7 {
    letter-spacing: 7px;
}

.ls-8 {
    letter-spacing: 8px;
}

.ls-n1 {
    letter-spacing: -1px;
}

.btn-gold {
    background-color: #D1C4B8 !important;
}

.parent-nav-dropdown {
    border-color: none;
    border: none;
    color: white;
    background-color: #803838;
    height: 4.5625rem;
    text-align: center;
    border-radius: 0;
    width: 100%;
}

    .parent-nav-dropdown .k-input-value-text {
        text-overflow: clip;
    }


/* Style for the dropdown wrapper */
.admin-dropdown-wrapper {
    width: 60.55%;
}

/* Child dropdowns */
.child-first-nav-dropdown,
.child-second-nav-dropdown,
.child-third-nav-dropdown,
.child-fourth-nav-dropdown {
    color: #0C213C;
    background-color: #DEDEDE;
    border: none;
    width: 100%;
}

    /* Remove focus border and outline for all dropdowns */
    .child-first-nav-dropdown:focus,
    .child-second-nav-dropdown:focus,
    .child-third-nav-dropdown:focus,
    .child-fourth-nav-dropdown:focus,
    .k-dropdown:focus,
    .k-dropdown-wrap:focus,
    .k-input:focus,
    .k-input-inner:focus {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }

/* Prevent focus border on dropdown wrap */
.k-dropdown-wrap.k-state-focused {
    border: none !important;
    box-shadow: none !important;
}



@media (max-width: 768px) {
    .admin-dropdown-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }

    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: stretch !important;
    }
}


.parent-nav-dropdown-bg {
    background-color: transparent;
}

.parent-nav-dropdown:hover {
    background-color: #803838 !important;
    color: white !important;
    border: none !important;
}

.parent-nav-dropdown-bg:hover {
    background-color: transparent !important;
}

.child-first-nav-dropdown:hover,
.child-second-nav-dropdown:hover,
.child-third-nav-dropdown:hover,
.child-fourth-nav-dropdown:hover {
    background-color: #DEDEDE !important;
    color: black !important;
    border: none !important;
}

.underline-selected .k-input-value-text {
    text-decoration: underline !important;
    font-weight: 700 !important;
    font-size: 14px;
    color: var(--text-primary-custom) !important;
}

/* 1. Remove SVG only inside these dropdowns */
.child-first-nav-dropdown .k-button-icon.k-svg-icon > svg,
.child-second-nav-dropdown .k-button-icon.k-svg-icon > svg,
.child-third-nav-dropdown .k-button-icon.k-svg-icon > svg,
.child-fourth-nav-dropdown .k-button-icon.k-svg-icon > svg,
.admin-parent-dropdown .k-button-icon.k-svg-icon > svg {
    display: none !important;
}

/* 2. Add black arrow icon for child dropdowns */
.child-first-nav-dropdown .k-button-icon.k-svg-icon,
.child-second-nav-dropdown .k-button-icon.k-svg-icon,
.child-third-nav-dropdown .k-button-icon.k-svg-icon,
.child-fourth-nav-dropdown .k-button-icon.k-svg-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    display: inline-block !important;
}

.admin-parent-dropdown .k-button-icon.k-svg-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    display: inline-block !important;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.nav-link-custom {
    position: relative;
    color: #0C213C;
    text-decoration: none;
    padding: 10.5px 0;
    margin-right: 2.5rem; /* Add some spacing between links */
    transition: color 0.3s ease;
    font-weight: bold !important;
    font-size: 14px !important;
}

    .nav-link-custom::after {
        content: "";
        position: absolute;
        bottom: 3px;
        left: 0;
        width: 0%;
        height: 4px;
        background-color: #095083;
        transition: width 0.3s ease;
    }

    /* Hover effect for non-active links */
    .nav-link-custom:not(.active):hover::after {
        width: 100%;
        background-color: #9e9e9e; /* Gray color for hover */
    }

    /* Active link underline (blue) */
    .nav-link-custom.active::after {
        width: 100%;
        background-color: #095083; /* Blue color for active */
    }

    /* Active link text color */
    .nav-link-custom.active {
        color: #0C213C;
    }
a:hover {
    color: inherit;
}



.k-list-content {
    color: var(--text-primary-custom) !important;
    font-weight: bold !important;       
    font-family: Georgia, serif !important;
}

.custom-header {
    background-color: var(--bs-secondary); /* Bootstrap secondary */
    color: white;
    white-space: nowrap;
    font-size: 11pt;
}

.form-bg {
    padding: 2rem;
    min-height: 100vh;
    background-color: #DEDEDE;
}

.form-card {
    position: relative;
    margin-top: -14em;
    z-index: 10;
    width: 100%;
    max-width: 1006px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1050px) {
    .form-card {
        margin-top: -8em;
        width: 95%;
    }
}

@media (max-width: 768px) {
    .form-card {
        margin-top: -7em;
        width: 100%;
    }

    .horizontal-divider {
        width: 100% !important;
    }
}

.admin-bg-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.grid-container {
    height: 100vh; /* Or 100% if parent allows */
    width: 100%;
    padding: 1rem;
}

.custom-tabstrip .k-tabstrip-items .k-item {
    background-color: #D1C4B8;
    font-weight: bolder;
    padding: 0.4rem 0rem;
    color: #000;
    border: solid 1px #D1C4B8;
    border-radius:0px;
}

    .custom-tabstrip .k-tabstrip-items .k-item.k-active {
        background-color: #ffffff !important;
        color: #095083;
    }

.custom-tabstrip .k-link-text {
    font-size: 1.2em;
    letter-spacing: 1.5px;
    font-weight: bold;
}

.custom-tabstrip .k-tabstrip-content {
    padding: 6px 10px;
    border: solid 1px #D1C4B8;
}

/* Make all tab headers share equal width in one row */
.custom-tabstrip .k-tabstrip-items {
    display: flex;
    flex-wrap: nowrap; /* prevent wrapping */
}

    .custom-tabstrip .k-tabstrip-items .k-item {
        flex: 1 1 auto; /* each tab adjusts to fit equally */
        text-align: center;
        min-width: 0; /* prevents overflow */
    }

.custom-file-upload {
    position: relative;
    width: 100%;
    min-height: 120px;
    cursor: pointer;
}

.file-drop-area {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.drag-active {
    border: 2px dashed #D1C4B8 !important;
    background: #D1C4B8;
}

.pointer-events-none {
    pointer-events: none;
}

.file-upload-border {
    border: 2px dashed #D1C4B8 !important; /* Lighter gray color */
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

    .file-upload-border:hover {
        border-color: #D1C4B8 !important;
        background-color: #D1C4B8;
    }

    .file-upload-border.drag-active {
        border-color: #D1C4B8 !important;
        background-color: #D1C4B8 !important;
    }

.custom-file-upload.drag-active {
    border: none !important; /* Remove double border */
    background: transparent;
}

.horizontal-divider {
    max-width: 100%;
    height: 5px;
    background-color: #D9D9D9;
    margin-top: 20px;
    margin-bottom: 20px;
}

.MyTelerikNotification .k-notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.MyTelerikNotification .k-notification {
    min-width: 300px;
    max-width: 600px;
    padding: 12px 24px;
    height: auto;
    font-size: 18px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}


.modal-dialog {
    max-width: 550px;
}

.modal-body {
    font-size: 1.1rem;
}

.modal-footer button {
    min-width: 100px;
}
.modal-content {
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

.modal-body p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.k-grid .k-header.k-sorted,
.k-grid .k-header.k-sorted .custom-header {
    color: #222 !important;
}
.k-grid-toolbar .k-button,
.k-grid-toolbar .k-button .k-icon,
.k-grid-toolbar .k-button .k-svg-icon {
    color: #222 !important;
    fill: #222 !important;
}

.fixed-btn-width {
    min-width: 130px; /* adjust as needed */
}

.head-label {
    font-family: 'Inter';
    font-weight: bold; /* Bold */
    font-size: 14px; /* 14px size */
    color: #095083; /* Text color */
    text-transform: uppercase; /* ALL CAPS */
}
.input-label {
    font-family: 'Inter';
    font-weight: bold;
    font-size: 11px;
    color: #0C213C;
    text-transform: none !important; /* Force override */
}

.market-worked-checkbox-label {
    font-family: 'Inter';
    font-weight: 400; /* Regular */
    font-size: 12px; /* 12px */
    color: #0C213C; /* Text color */
    text-transform: none; /* Keep U/LC */
}

.form-note {
    color: #0C213C;
}



