﻿html, body {
    font-family: var(--kendo-font-family);
    margin: 0;
    overflow: hidden; /* Removes all scrollbars from the body */
}

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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

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

.validation-message {
    color: #e51540;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.auth-bg {
    min-height: 100vh;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-repeat: no-repeat;
    position: fixed;
    background-size: cover;
    background-image: url("jockey-club.jpg")
}

.auth-view {
    z-index: 1;
    height: 100%;
    flex-grow: 1;
    min-width: 450px;
    width: 40%;
    flex-shrink: 0;
    position: fixed; /* adjust position of the login form */
    top: 20%;
    left: 30%;
}

.sign-in-form {
    width: 70%;
    padding-left: 6rem;
}

.nexus-signin-logo {
    width: 350px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    object-fit: contain;
}

.rlb-report-drawer ul.rlb-report-drawer-ul-root {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--kendo-color-surface);
}

    .rlb-report-drawer ul.rlb-report-drawer-ul-root li.a .k-dropdownlist .k-input-inner {
        font-weight: 700;
        font-size: 0.95rem;
    }

.box-sign-in-out {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, .6);
}

    .box-sign-in-out > h3 {
        margin-top: -10px;
    }

.k-floating-label-container {
    width: 100%;
}

/* prevent checkbox from not wrapping resulting in uneven breakline  */
.rlb-checkbox-list.k-hstack {
    flex-wrap: wrap;
}

.rlb-grid-layout-report {
    padding: 0 25px 0 15px;
}

.rlb-grid-layout-report-inner {
    border: 1px solid black;
}

.k-radio-list-item {
    padding: 0.25rem;
}

.k-radio-list.k-list-horizontal {
    gap: 0.25rem;
}

.rlb-list-title {
    flex: 1 1 100%;
    font-weight: 600;
    font-size: 0.875rem;
}

label {
    font-size: 0.875rem;
}

.rlb-label {
    font-size: 0.875rem;
    font-weight: 600;
}

.k-radio-list.k-list-horizontal {
    gap: 0;
}

    .k-radio-list.k-list-horizontal ul li {
        line-height: 1.5;
    }

.k-floating-label-container > .k-floating-label {
    font-weight: 600;
    color: #212121;
}
/* Disable scaling of font size on floating label */
.k-floating-label-container.k-empty .k-floating-label,
.k-floating-label-container > .k-floating-label,
.k-floating-label-container:focus-within > .k-floating-label {
    font-weight: 500;
    transform: scale(1);
}

.rlb-h1 {
    margin: 0.5rem 0 0;
}

.rlb-paragraph {
    margin: 0.5rem 0 0.75rem;
}

.rlb-hr {
    margin-bottom: 0;
}

.k-button-solid-base:disabled, .k-button-solid-base.k-disabled {
    /* box-shadow:none; */
    background-color: white;
}

label.mandatory-field:after {
    content: " *";
    color: red;
}

.note-box {
    /* Subtle background color you mentioned */
    background-color: #EBEEF2;
    /* Minimal padding so the box “fits” the text */
    padding: 5px 10px;
    /* Only as wide as the text + padding, not full width */
    display: inline-block;
    /* Light border for definition */
    border: 1px solid #ddd;
    /* Slightly round corners for a clean look */
    border-radius: 4px;
    /* Space above/below if needed */
    margin: 5px 0;
    /* Adjust text color as desired */
    color: #333;
    /* Slightly smaller text to keep it neat */
    font-size: 0.9rem;
}

.red-text {
    color: red;
    font-weight: bold; /* Optional emphasis for the asterisk */
}

.wizard-container {
    width: 100%;
    max-width: 1200px stretch; /* Desired width */
    min-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; /* Ensures padding doesn't exceed max-width */
}

body.wizard-container {
    max-width: 1200px; /* Adds specificity */
    min-width: 800px;
}

.uploadpcontainer {
    width: 100%; /* Set container width to 90% */
    max-width: 1800px; /* Prevent it from becoming too wide */
    min-width: 800px; /* Ensure it doesn't shrink too much */
    margin: 0 auto; /* Center the container */
    padding: 0 20px;
    box-sizing: border-box; /* Prevents padding from exceeding width */
}


.form-buttons-container {
    display: flex; /* Enables flexbox layout */
    justify-content: flex-end; /* Aligns button to the right */
    align-items: center; /* Aligns buttons vertically */
    width: 100%; /* Takes up the full width of the parent */
    padding: 20px 0; /* Adds space above and below the buttons */
    box-sizing: border-box; /* Prevents padding from breaking layout */
}

.save-buttons-container {
    display: flex; /* Allows for flexibility if more buttons are added in the future */
    align-items: center; /* Aligns buttons vertically in the center */
    gap: 10px; /* Adds spacing between "Project Header" and "Save" buttons */
    padding: 20px 0; /* Adds space above and below the buttons */
}

.next-button-container {
    display: flex; /* Keeps the Next button aligned to the right */
    align-items: center; /* Aligns button vertically */
    justify-content: space-between; /* Positions the Save button on the left and Project Design button on the right */
}

.buttons-wrapper {
    display: flex; /* Flex container for the buttons */
    justify-content: space-between; /* Space between the left and right button groups */
    align-items: center; /* Aligns buttons vertically */
    width: 100%; /* Full width of the form */
    padding: 20px 0; /* Adds spacing above and below buttons */
    box-sizing: border-box; /* Ensures padding doesn't exceed container width */
}

.new-project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Spacing between buttons */
    margin: 40px 0;
}

    .new-project-container .start-new-project {
        border: 2px solid #ccc; /* Light gray border */
        border-radius: 8px; /* Rounded corners */
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase; /* Capitalize text */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .new-project-container .start-new-project:hover {
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
            transform: translateY(-2px); /* Slight lift effect */
        }

        .new-project-container .start-new-project:active {
            transform: translateY(0); /* Reset lift on click */
            box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow */
        }

.contact-list-wrapper {
    contact-list-wrappe margin: 20px;
    font-family: Arial, sans-serif;
}

.contact-list {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
    color: #333;
}

.Projects {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

    .Projects:hover {
        background-color: #f0f8ff; /* Light blue background on hover */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
    }

.project-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.project-details {
    flex: 1;
    font-size: 16px;
    color: #555;
}

    .project-details span {
        display: block;
        margin-bottom: 5px;
    }

        .project-details span strong {
            color: #333; /* Highlight the labels */
        }


.highlight-invalid-metrics-para {    
    color: #CD0E2C;
}

.hidden-buttons {
    display: none; /* Hides Telerik’s default buttons */
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* Space below stepper */
}

.wizard-navigation-item-start {
    justify-self: flex-start;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 1
}

.wizard-navigation-item-end {
    justify-self: flex-end;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 1
}

.nav-button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    .nav-button:hover, .nav-button:active {
        background-color: #00245D; /* Light blue on hover/click */
    }

    .nav-button:disabled {
        background-color: #cccccc;
        color: #666666;
        cursor: not-allowed;
    }

.save-buttons {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    margin-top: 0px;
    top: 0px; /* Adjusted to align with Next button */
    left: 10px;
}

/* Custom step styling */
.custom-step {
    width: 40px;
    height: 40px;
    border: 2px solid #004080;
    border-radius: 50%;
    background-clip: padding-box;
    box-sizing: border-box;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.k-step-current .custom-step {
    background-color: #C6C6C5 !important; /* Red background for current step */
    color: white !important; /* Ensure contrast */
    border: 2px solid #C6C6C5 !important;
}

    .k-step-current .custom-step .k-icon {
        width: 24px;
        color: black;
    }

.k-step-done .custom-step {
    background-color: #004080 !important; /* Dark blue background for completed steps */
    color: white !important;
    border: 2px solid #004080;
}

.k-step:not(.k-step-done):not(.k-step-current) .custom-step {
    border: 2px solid #ccc;
}

    .k-step:not(.k-step-done):not(.k-step-current) .custom-step .k-icon {
        width: 24px;
        color: black;
    }

.k-step-link .k-icon {
    width: 24px;
    color: white;
}

.k-step-link .step-label {
    color: #004080;
    font-weight: bold;
}

/* Force blue styling for current step when submitted */
.k-step-current .submitted-step {
    background-color: #004080 !important;
    border-color: #004080 !important;
    color: white !important;
}

    .k-step-current .submitted-step svg {
        fill: white !important;
    }

.submitted-label {
    color: #004080 !important;
    font-weight: bold;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 6px !important; /* tighter gap before chips */
}

/*.search-box {
    width: 900px !important;
    padding: 15px;*/ /* Bigger padding for a better UI */
    /*font-size: 1.2rem;*/ /* Slightly larger font for readability */
    /*border: 2px solid #ccc;
    border-radius: 8px;*/ /* Slightly rounded corners */
/*}*/

.search-button {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #004080;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    .search-button:hover {
        background-color: #00245D; /* Slightly lighter shade on hover */
    }

    .search-button svg {
        width: 32px;
        height: 32px;
    }


.search-guidance {
    text-align: center;
    font-weight: bold;
    font-size: x-large;
    margin-bottom: 5px;
    color: #004080;
    position: relative;
}

.k-button .k-icon {
    font-size: 24px; /* Increased icon size */
    width: 32px; /* Adjust width */
    height: 32px; /* Adjust height */
}


.contact-list-wrapper {
    margin: auto;
    padding: 6px 12px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.15), 0 4px 2px -2px rgba(0, 0, 0, 0.1);
}

.contact-list {
    text-align: left !important;
    padding: 6px;
    font-size: 22px;
}

.k-hstack {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.Projects {
    margin-bottom: 10px;
    padding: 10px;
    box-shadow: 0 1px 3px #bbb;
    border-radius: 4px;
    cursor: pointer; /* Changes cursor to a finger */
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .Projects h2 {
        font-size: 1.2em;
        margin: 0;
    }

    .Projects p {
        margin: 0;
        font-size: 5em;
    }

    .Projects:hover {
        background-color: #D9DEE7;
        color: #1A237E;
    }

.project-details {
    font-size: 1.0em;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the image and text */
    margin-bottom: 10px; /* Space between project items */
}

.start-new-project {
    font-size: 1rem; /* Font size for better readability */
    padding: 10px 20px; /* Padding for a balanced button size */
    background-color: #00245D; /* Consistent theme color */
    color: white; /* White text color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

    .start-new-project:hover {
        background-color: #00357A; /* Slightly lighter shade on hover */
        cursor: pointer;
    }

.custom-avatar-circle {
    border-radius: 50%; /* Makes the avatar circular */
    overflow: hidden; /* Ensures the image fits within the circle */
    border: 2px solid #ddd; /* Optional border */
    background-color: #f9f9f9; /* Optional background */
}

    .custom-avatar-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image fills the circle without distortion */
    }

.new-project-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
}

.tile-button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 30px 50px; /* Increased padding for larger buttons */
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Adds space between the icon/logo and text */
    height: 80px; /* Increased height */
    width: 300px; /* Increased width for consistency */
}

    /* On hover effect */
    .tile-button:hover {
        transform: scale(1.08);
        background-color: #00245D; /* Slightly darker shade on hover */
    }

    .tile-button svg {
        width: 32px; /* Adjust the icon size */
        height: 32px;
    }
/* Ensure all icons fit correctly */
.button-icon {
    width: 32px; /* Larger icon size */
    height: 32px;
}

/* Ensure the ROSS 5D logo fits within the button */
.button-logo {
    width: 32px; /* Adjusted for better visibility */
    height: 32px;
}


.divider-line {
    margin: 30px 0;
    border-top: 3px solid #ccc;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background-color: grey;
    color: white;
    padding: 10px;
    border-radius: 5px;
    top: 100%; /* Position below the button */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    white-space: nowrap;
    display: none; /* Initially hidden */
    margin-top: 5px; /* Space between button and tooltip */
}

.tile-button:hover + .tooltip {
    display: block; /* Show tooltip on hover */
}

.button-container {
    position: relative;
    display: inline-block;
}

.tile-button:hover + .tooltip {
    display: block; /* Show tooltip on hover */
}

/* Modal Background */
.modal-overlay {
    position: fixed;    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    width: 480px;
    max-width: 90vw;
    max-height: min(84svh, 650px);
    overflow-y: auto; /* internal scroll */
    position: relative;
    text-align: left;
    color: #00245D;
    font-family: 'Segoe UI',sans-serif;
}

    /* Modal Title */
    .modal-content h2 {        
        font-size: 1.4rem;
        font-weight: bold;
        margin-bottom: 12px;

    }

    /* Modal Body Paragraph */
    .modal-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

/* Close Icon (X) */
.modal-close-icon {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    z-index: 3;
}

    .modal-close-icon:hover {
        color: #000;
    }

/* Button Row at Bottom */
.modal-button-row {    
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

/* Accept Button */
.modal-close-confirm {
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

    .modal-close-confirm:hover {
        background-color: #00245D;
    }

    /* Decline Button – Flat */
    .modal-close-confirm.decline {
        background-color: transparent;
        color: #555;
        border: none;
        padding: 10px 20px;
        border-radius: 6px;
        font-weight: bold;
        transition: background-color 0.2s ease-in-out;
    }

        .modal-close-confirm.decline:hover {
            background-color: #e0e0e0;
            color: #000;
            cursor: pointer;
        }

/* ONLY for the acceptance policy modal */
.policy-modal {
    display: flex; /* header / body / footer layout */
    flex-direction: column;
}

/* Header (your <h2>) just sits at the top */
.policy-modal h2 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0; /* never collapses */
    border-bottom: 1px solid #eaeaea; /* nice divider */
    padding-bottom: 8px;
}

/* Only the middle body scrolls */
.policy-modal .modal-body {
    flex: 1 1 auto; /* takes remaining height */
    overflow: auto; /* internal scroll here only */
}

/* Footer stays visible; no sticky/absolute needed */
.policy-modal .modal-button-row {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
    flex-shrink: 0; /* never scrolls away */
}


/* Optional: Disabled Button (e.g. placeholder) */
.disabled-button {
    background-color: dimgrey !important;
    color: white !important;
    border: none !important;
    cursor: not-allowed;
}

    .disabled-button:hover {
        background-color: dimgrey !important;
    }

   /* Upload Project page*/

.hidden-buttons {
    display: none; /* Hides Telerik’s default buttons */
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* Space below stepper */
}

.wizard-navigation-item-start {
    justify-self: flex-start;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 1
}

.wizard-navigation-item-end {
    justify-self: flex-end;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 1
}

.nav-button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    .nav-button:hover, .nav-button:active {
        background-color: #00245D; /* Light blue on hover/click */
    }

    .nav-button:disabled {
        background-color: #cccccc;
        color: #666666;
        cursor: not-allowed;
    }

.save-buttons {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    margin-top: 0px;
    top: 0px; /* Adjusted to align with Next button */
    left: 10px;
}

/* Custom step styling */
.custom-step {
    width: 40px;
    height: 40px;
    border: 2px solid #004080;
    border-radius: 50%;
    background-clip: padding-box;
    box-sizing: border-box;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.k-step-current .custom-step {
    background-color: #C6C6C5 !important; /* Red background for current step */
    color: white !important; /* Ensure contrast */
    border: 2px solid #C6C6C5 !important;
}

    .k-step-current .custom-step .k-icon {
        width: 24px;
        color: black;
    }

.k-step-done .custom-step {
    background-color: #004080 !important; /* Dark blue background for completed steps */
    color: white !important;
    border: 2px solid #004080;
}

.k-step:not(.k-step-done):not(.k-step-current) .custom-step {
    border: 2px solid #ccc;
}

    .k-step:not(.k-step-done):not(.k-step-current) .custom-step .k-icon {
        width: 24px;
        color: black;
    }

.k-step-link .k-icon {
    width: 24px;
    color: white;
}

.k-step-link .step-label {
    color: #004080;
    font-weight: bold;
}

/* Cost Page*/

.form-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.create-save-button {
    background-color: #004080 !important; /* Matches tile button color */
    color: white !important;
    border: none !important;
    transition: background-color 0.3s ease-in-out;
}

    .create-save-button:hover {
        background-color: #00245D !important; /* Hover color */
    }

    /* Design Page */
.form-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.create-save-button {
    background-color: #004080 !important; /* Matches tile button color */
    color: white !important;
    border: none !important;
    transition: background-color 0.3s ease-in-out;
}

    .create-save-button:hover {
        background-color: #00245D !important; /* Hover color */
    }

/* Project Header Page*/

.form-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.custom-project-design-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

    .custom-project-design-btn:hover {
        background-color: #0056b3;
    }

.custom-avatar-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #00245D; /* Dark blue background */
    color: white;
    font-weight: bold;
    text-align: center;
    width: 100px;
    height: 100px;
}

.avatar-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ✅ Ensures proper centering */
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.save-buttons {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    margin-top: 0px;
    top: 0px; /* Adjusted to align with Next button */
    left: 10px;
}

.create-save-button {
    background-color: #004080 !important; /* Matches tile button color */
    color: white !important;
    border: none !important;
    transition: background-color 0.3s ease-in-out;
}

    .create-save-button:hover {
        background-color: #00245D !important; /* Hover color */
    }

/* Summary Page*/

.create-save-button {
    background-color: #004080 !important; /* Matches tile button color */
    color: white !important;
    border: none !important;
    transition: background-color 0.3s ease-in-out;
}

    .create-save-button:hover {
        background-color: #00245D !important; /* Hover color */
    }

.success-message-container {
    text-align: center;
    margin-top: 40px;
}

.success-message {
    color: black;
    font-weight: bold;
    font-size: 1.4em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .success-message::before {
        content: "✔";
        color: green;
        font-size: 1.6em;
    }

.redirect-info {
    margin-top: 20px;
    font-size: 1.1em;
}

.button-group {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button-group-centered {
    display: flex;
    justify-content: center;
    gap: 30px; /* spacing between the buttons */
    margin-top: 15px;
}

/* This styles the wizard step circle when submitted */
.custom-step.submitted-step {
    background-color: #004b87 !important; /* Blue background */
    color: white !important;
    border-radius: 50%;
    padding: 6px;
    display: inline-block;
}

/* This styles the label under the summary icon */
.step-label.submitted-label {
    color: #004b87 !important;
    font-weight: bold;
}

/* R5D Page*/
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    width: 100%;
    text-align: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9 rem; /* Optional: adds spacing between elements */
}

.loader-color-title h3 {
    margin: 0;
}


.error-message {
    font-size: 18px;
    font-weight: bold;
    color: red;
}

/* This styles the wizard step circle when submitted */
.custom-step.submitted-step {
    background-color: #004080 !important;
    border-color: #004080 !important;
    color: white !important;
}

/* This styles the label under the summary icon */
.step-label.submitted-label {
    color: #004080 !important;
    font-weight: bold;

}

.readonly-field input.k-input-inner {
    background-color: transparent;
    color: rgba(0, 0, 0, 0.38);
}

/* ComboBox readonly styling */
.readonly-field .k-dropdown-wrap {
    background-color: transparent;
    color: rgba(0, 0, 0, 0.38);
    border-color: transparent;
}

.readonly-field .k-input-value,
.readonly-field .k-input-inner {
    color: rgba(0, 0, 0, 0.38);
}

/* Two-column top split */
.nx-top-split {
    display: grid;
    grid-template-columns: 420px 1fr; /* left fixed, right fluid */
    gap: 16px;
    /*align-items: stretch;*/ /* equal height cards */
    margin-bottom: 12px;
}

/* Card styling */
.nx-card {
    background: #00245D;
    border: 1px solid #E6E8EB;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    min-height: 260px; /* keeps heights aligned visually */
}

    .nx-card.hotel-section {
        margin-top: 12px;
    }

/* Title */
.nx-card-title {
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 1rem;
}


/* Keep the avatar preview at the bottom if upload grows */
.nx-photo-preview {
    margin-top: auto; /* push to bottom */
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* Responsive: stack on small screens */
@@media (max-width: 900px) {
    .nx-top-split {
        grid-template-columns: 1fr;
    }
}

/* Two-column row for Details + Address */
.nx-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    /*align-items: stretch;*/ /* equal card heights */
    margin-bottom: 12px;
}

/* Card (reuse if you already added earlier) */
.nx-card {
    background: #F9FAFC ;
    border: 1px solid #E6E8EB ;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

/* Title */
.nx-card-title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1rem;
}

/* Inner grid for fields (2 cols on desktop) */
.nx-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

.nx-col-span-2 {
    grid-column: 1 / -1;
}

.nx-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0px;
}


/* Stack on small screens */
@@media (max-width: 900px) {
    .nx-row-2col {
        grid-template-columns: 1fr;
    }

    .nx-grid {
        grid-template-columns: 1fr;
    }
}

.nx-section-group {    
    display: flex;
    flex-direction: column;
    gap: 16px; /* Adjust this value for more or less vertical space */
    margin-bottom: 12px; /* Space after the group, before the next content */
}

.custom-avatar-rect {
    width: 172px; /* match Width above */
    height: 128px; /* match Height above */
    border-radius: 8px; /* set to 0 if you want sharp corners */
    overflow: hidden;
    background: #0E2F5A;
}

    .custom-avatar-rect img,
    .custom-avatar-rect .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 24%;
        display: block;
    }
/* Access card specifics */
.nx-access {
    min-height: 260px;
}

/* input row */
.nx-access-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 10px;
    margin-bottom: 10px;
}

.nx-access-input .k-input-inner { /* taller input feel */
    min-height: 38px;
}

.nx-access-add.k-button {
    height: 38px;
    font-weight: 700;
    border-radius: 8px;
}

/* empty */
.nx-access-empty {
    color: #6b7280;
    margin: 10px 2px 14px;
}

/* list of collaborators */
.nx-collab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 2px 0 8px;
}

/* pill/chip */
.nx-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 6px 8px 6px 10px;
    line-height: 1;
}

    .nx-chip:hover {
        background: #eef2f7;
    }

/* label + badge */
.nx-chip-label {
    font-weight: 600;
}

.nx-role-badge {
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 9999px;
    background: #e7f5ff;
    color: #0b7285;
    border: 1px solid #d0ebff;
}

/* inline remove (X) */
.nx-chip-x {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 4px 0 2px;
    cursor: pointer;
    color: #475569;
    display: inline-flex;
    align-items: center;
}

    .nx-chip-x:hover {
        color: #111827;
    }

    .nx-chip-x .k-svg-icon {
        width: 16px;
        height: 16px;
    }

/* footer helper + activity */
.nx-access-foot {
    margin-top: 6px;
    color: #6b7280;
    font-size: .85rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.nx-activity {
    opacity: .9;
}
/* Access card rows */
.nx-access-inputrow {
    margin-bottom: .5rem;
}

.nx-access-btnrow {
    display: flex;
}

/* Full-width deep blue Add button */
.nx-access-add {
    width: 100%;
    background-color: #00245D !important;
    border-color: #00245D !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    height: 40px;
}

    .nx-access-add:hover,
    .nx-access-add:focus {
        background-color: #00245D !important;
        border-color: #00245D !important;
    }

    .nx-access-add.k-disabled,
    .nx-access-add:disabled {
        background-color: #e5e7eb !important;
        border-color: #d1d5db !important;
        color: #9ca3af !important;
        cursor: not-allowed;
    }
/* Top split stays: 420px photo + flexible right */
.nx-top-split {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 16px;
}

/* Make the Project Access card no wider than one column below */
.nx-access {
    width: 100%;
    /* half of the full form width minus the middle gutter,
         so it lines up with Project Details/Address */
   /* //max-width: calc((100% - 16px) / 2);*/
    justify-self: start; /* keep it flush to the middle gutter */
    box-sizing: border-box;
    min-width: 0;
}

/* On smaller screens let it go full width (stacked layout) */
@@media (max-width: 800px) {
    .nx-access {
        max-width: 100%;
    }
}

.nx-access .nx-access-row {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: .5rem;
}

.nx-access-input {
    width: 100%;
}

.nx-access-add {
    width: 140px;
}
/* blue via ThemeColor="Primary" */

.nx-collab-list {
    list-style: none;
    padding: 0;
    margin: .25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.nx-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #f8fafc;
    padding: .25rem .55rem;
}

.nx-chip-label {
    font-weight: 600;
}

.nx-role-badge {
    font-size: .75rem;
    line-height: 1;
    padding: .1rem .4rem;
    border-radius: .35rem;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
}

.nx-chip-x {
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.nx-access-empty {
    color: #6b7280;
}

.nx-access-foot {
    margin-top: .5rem;
    color: #6b7280;
    font-size: .85rem;
}

.nx-activity {
    margin-left: .35rem;
}

.btn-loader {
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
}

.nx-search-wrap {
    position: relative;
    width: 100%;
}

.nx-search {
    width: 100%;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 .75rem;
    outline: none;
}

    .nx-search:focus {
        border-color: #c7d2fe;
        box-shadow: 0 0 0 3px rgba(99,102,241,.15);
    }

.nx-suggest {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 240px;
    overflow: auto;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.nx-suggest-item {
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

    .nx-suggest-item:hover {
        background: #f3f4f6;
    }

.nx-suggest-name {
    font-weight: 600;
}

.nx-suggest-meta {
    color: #6b7280;
    font-size: .85rem;
}

.nx-badge-added {
    margin-left: .5rem;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 9999px;
    background: #e7f5ff;
    color: #0b7285;
    border: 1px solid #d0ebff;
}

.nx-suggest-item.is-added {
    opacity: .6;
    cursor: not-allowed;
}

.nx-req-progress {
    margin-left: .75rem;
    padding: .1rem .5rem;
    border-radius: 10px;
    font-weight: 600;
    background: #f5f5f7;
}
/* Remove pill styling from ANY count indicator in the note-box */
.note-box .nx-req-progress,
.note-box .k-badge,
.note-box .k-badge-solid,
.note-box .k-badge-pill,
.note-box .k-chip,
.note-box .k-tag {
    background: none ;
    border: none ;
    border-radius: 0 ;
    padding: 0 ;
    box-shadow: none ;
    /* Text style - match "indicate mandatory fields" */
    font-size: 0.9rem ;
    font-weight: 700 ;
    color: #333 ;
    display: inline ;
    line-height: normal ;
}

.dept-design-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

/* Top row and existing rows share same grid */
.dept-input-row,
.dept-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) 72px; /* Mix, Area, X/+ */
    column-gap: 0.75rem;
    align-items: center;
}

    /* Make Telerik inputs fill their grid cell */
    .dept-input-row .k-textbox,
    .dept-input-row .k-numerictextbox,
    .dept-row .k-textbox,
    .dept-row .k-numerictextbox {
        width: 100%;
    }

/* ADD and X buttons same style */
.dept-add-btn,
.dept-delete-btn {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

