﻿
.siteheader {
    background-color: var(--neutral-fill-layer-rest) !important;
    border-bottom: calc(var(--stroke-width)* 2px) solid var(--accent-fill-rest);
    margin-bottom: 0 !important;
    color: var(--neutral-foreground-rest);
    height: 60px !important;
}

.menu-section {
    display: flex;
    justify-content: flex-start;
    flex-grow: 1;
    padding-left: 20px;
}

.login-container {
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: url('qs_bg.png') no-repeat top left fixed;
    background-size: cover;
}

.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8); /* Transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.validation-message {
    color: var(--error);
}

@media (max-width: 480px) {
    .login-card {
        max-width: 100%;
        padding: 10px;
    }
}

.table {
    width: 50%;
    border-collapse: collapse;
}

.table td, .table th {
    border: 1px solid #958f8f;
    padding: 8px;
}

.table tr:nth-child(odd) {

    background-color: var(--neutral-layer-1); /* This handles the table-striped effect */

    background-color: var(--neutral-layer-4); /* This handles the table-striped effect */

}

.table-bordered td, .table-bordered th {
    border: 1px solid #958f8f; /* This handles the table-bordered effect */
}

.table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
}

.fluent-control-input-number {
    appearance: none;
    color: inherit;
    background: transparent;
    border: 0px;
    height: calc(100% - 4px);
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 calc(var(--design-unit) * 2px + 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    display: block;
    outline: none;
    box-sizing: border-box;
    position: relative;
    color: inherit;
    border: calc(var(--stroke-width) * 1px) solid transparent;
    border-radius: calc(var(--control-corner-radius) * 1px);
    height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: padding-box linear-gradient(var(--neutral-fill-input-rest),var(--neutral-fill-input-rest)),border-box var(--neutral-stroke-input-rest);
}

.fluent-control-input-number.modified.invalid {
    outline: calc(var(--stroke-width) * 1px) solid var(--error);
}

.required-label::after {
    content: " *";
    color: #d13438;
}

/* Assessment Offering Edit Uploaded Files */
.uploaded-files__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-left: 1.5rem;
}

.uploaded-files__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

.uploaded-files__name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.uploaded-files__name a {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uploaded-files__badge {
    flex-shrink: 0;
}

.uploaded-files__number {
    font-weight: 600;
    color: var(--neutral-foreground-rest);
}

.uploaded-files__size {
    white-space: nowrap;
    color: var(--neutral-foreground-2-rest);
}

@media (max-width: 640px) {
    .uploaded-files__row {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: 0.25rem;
    }

    .uploaded-files__row > *:nth-child(n + 3) {
        grid-column: 1 / -1;
    }

    .uploaded-files__name {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .uploaded-files__name a {
        white-space: normal;
    }
}
