@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --scopos-dark-grey: #222529;
    --scopos-dark-grey-0: #222529;
    --scopos-dark-grey-1: #4E5154;
    --scopos-dark-grey-2: #7A7C7F;
    --scopos-dark-grey-3: #A7ABA9;
    --scopos-blue: #0483C1;
    --scopos-blue-0: #0483C1;
    --scopos-blue-1: #369CCD;
    --scopos-blue-2: #68B5DA;
    --scopos-blue-3: #9BCDE6;
    --scopos-light-grey: #D1D1D1;
    --scopos-light-grey-0: #D1D1D1;
    --scopos-light-grey-1: #DADADA;
    --scopos-light-grey-2: #E3E3E3;
    --scopos-light-grey-3: #EDEDED;
    --scopos-medium-grey: #5B5B5B;
    --scopos-medium-grey-0: #5B5B5B;
    --scopos-medium-grey-1: #7C7C7C;
    --scopos-medium-grey-2: #9D9D9D;
    --scopos-medium-grey-3: #BDBDBD;
    --scopos-orange: #E2511A;
    --scopos-orange-0: #E2511A;
    --scopos-orange-1: #E87448;
    --scopos-orange-2: #EE9776;
    --scopos-orange-3: #F3B9A3;
}

html, body {
    
}

a, .btn-link {
    color: var( --scopos-blue-0 );
}

a:hover, .btn-link:hover {
    color: var( --scopos-blue-2 );
}

.btn-primary {
    color: #fff;
    background-color: var( --scopos-blue-0 );
    border-color: var( --scopos-blue-2 );
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: #dc3545 !important;
}

.cursor-pointer {
    cursor: pointer;
}

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

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
        margin-right: 10px
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.disabled-text-box {
    background-color: orange; /* Set the background color to a light gray */
    color: #666; /* Set the text color to a darker gray */
}

.min-width-200 {
    min-width: 200px;
}

.min-width-300 {
    min-width: 300px;
}

.min-width-400 {
    min-width: 400px;
}

.min-width-500 {
    min-width: 500px;
}

/* Optional: map semantic tags globally */
h1, .heading-h1,
h2, .heading-h2,
h3, .heading-h3,
h4, .heading-h4,
h5, .heading-h5,
h6, .heading-h6 {
    margin: 0 0 0.5rem 0;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--scopos-dark-grey-0);
}

/* Modern, restrained scale */
h1, .heading-h1 {
    font-family: "aktiv-grotesk-light", sans-serif;
    font-size: 1.75rem; /* 32px */
    font-weight: 300;
    color: var(--scopos-dark-grey-0);
}

h2, .heading-h2 {
    font-family: "aktiv-grotesk-medium", sans-serif;
    font-size: 1.65rem; /* ~26px */
    font-weight: 500;
    color: var(--scopos-blue-0);
}

h3, .heading-h3 {
    font-family: "aktiv-grotesk-medium", sans-serif;
    font-size: 1.4rem; /* ~22px */
    font-weight: 400;
    color: var(--scopos-dark-grey-0);
}

h4, .heading-h4 {
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 1.4rem; /* ~19px */
    font-weight: 400;
    color: var(--scopos-dark-grey-2);
}

h5, .heading-h5 {
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 1.05rem; /* ~17px */
    font-weight: 400;
    color: var(--scopos-dark-grey-1);
}

h6, .heading-h6 {
    font-family: "aktiv-grotesk-light", sans-serif;
    font-size: 1.05rem; /* ~15px */
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--scopos-blue-0);
}

p, .paragraph {
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 300;
    color: var(--scopos-medium-grey-1);
    margin: 0 0 .25rem 0;
}



