﻿
/* BASE */
* {
    box-sizing: inherit;
}

.bell-icon
{
    color:var(--nb-text);
}
main {
    display: block;
}

/* PAGE */
div.page {
    background: var(--bg);
    min-height: 100%;
    height: 100%;
}

.frame .h3 {
    color: var(--h-text);
}
    /*//////////////////////////////////////////// CARD ///////////////////////////////////////////////////////*/

/* =========================
CARD
========================= */
.card {
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.15);
    transition: 0.2s;
}

    .card:hover {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.25), 0 10px 22px rgba(0,0,0,0.25);
    }

/* =========================
CARD HEADER
========================= */
.card-header {
    position: relative;
    padding: 12px 16px;
    background: linear-gradient( to bottom, var(--amiga-header-top), var(--amiga-header-mid), var(--amiga-header-bottom) );
    border-bottom: 1px solid var(--amiga-shadow);
    box-shadow: inset 0 1px 0 var(--amiga-highlight), inset 0 -1px 0 var(--amiga-shadow);
    color: black;
    font-weight: 600;
}

    /* 🔥 FIX: reduce fade effect */
    .card-header::after {
        content: "";
        position: absolute;
        inset: 0;
        height: 40%;
        background: linear-gradient( to bottom, rgba(255,255,255,0.15), transparent );
        pointer-events: none;
    }

    /* =========================
TEXT
========================= */
    .card-header .title {
        font-size: 1.1rem;
        font-weight: 700;
        color: black;
        text-shadow: 0 1px 0 rgba(0,0,0,0.5);
    }

    .card-header .subtitle {
        font-size: 0.85rem;
        opacity: 0.85;
    }

/* =========================
BODY
========================= */
.card-body {
    padding: 16px;
}








/*//////////////////////////////////////////// FORM ///////////////////////////////////////////////////////*/

label, .label, .label-as-p {
    font-weight: 500;
    color: var(--label-color);
}

.form-group {
    margin-bottom: 12px;
}

    .form-group input,
    .form-group select,
    .form-group textarea,
    input:not([type]),
    select {
        width: 100%;
        padding: 6px 8px;
        border: 1px solid #9aa7b3;
        border-radius: 3px;
        background: var(--bg);
        box-shadow: inset 1px 1px 2px rgba(0,0,0,0.25), inset -1px -1px 0 rgba(255,255,255,0.8);
    }
input[type="radio"] {
    accent-color: var(--sb-bg);
}

    /* If text is directly after radio (not wrapped in label) */
    input[type="radio"] + * {
        color: var(--sb-bg);
    }
.mud-input-slot, mud-input-slot, mud-input-root, mud-input-root-text, mud-input-root-adorned-end {
    background-color: var(--bg);
}
input[type="time"] {
    background-color: var(--bg);
}
/*//////////////////////////////////////////// TABLE ///////////////////////////////////////////////////////*/

.apl-table-header {
    background: linear-gradient(#d6d6d6, #bfbfbf) !important;
    border-bottom: 1px solid #999;
}
.mudblazor {
    background: var(--bg);
}

/*//////////////////////////////////////////// GROUP BOX ///////////////////////////////////////////////////////*/

.groupBox {
    border: 1px solid var(--border);
    background: #f0f0f0;
    padding: 10px;
}

.table-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2px;
}

/*//////////////////////////////////////////// MEDIA QUERIES (UNCHANGED STRUCTURE) ///////////////////////////////////////////////////////*/
/* Sidebar layout */
@media (max-width:1200px) {
    .mud-main-content {
        padding-top: 0px;
    }
}

@media (min-width:1200px) {
    .mud-main-content {
        margin-left: 200px;
        padding-top: 5px;
    }
}
/* Height scaling */
@media (max-height: 1080px) {
    body {
        font-size: 1.5em;
        line-height: 1.4;
    }

    html {
        font-size: 0.70rem;
    }

    select {
        font-size: 0.7em;
        padding: .4rem 1rem;
    }

    label, legend {
        font-size: 0.9rem;
    }
}
/* Medium screens */
@media (max-width: 1440px) {
    body {
        font-size: 1.5em;
    }

    html {
        font-size: 0.70rem;
    }

    input:not([type="radio"]):not([type="checkbox"]) {
        font-size: 1.5em;
    }

    select {
        font-size: 1rem;
    }

    label, legend {
        font-size: 1.3rem;
    }
}
/* Hide columns */
@media (max-width: 1920px) {
    .hide-cells {
        display: none;
    }
}

@media (min-width: 1921px) {
    .hide-cells {
        display: table-cell;
    }
}

@media (max-width:1200px) {
    .table-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 2px;
    }
}
/*////////////////////////////////////////////BOOTSTRAP OVERRIDES////////////////////////////////////////////////////////////////////////////////////////*/

.nav-link {
    transition: background 0.2s ease, color 0.2s ease;
    color: var(--tab-text);
}

    .nav-link:hover {
        color: var(--tab-bg-hover)!important;
       
    }

    .nav-link.active {
        background: linear-gradient( to bottom, #f0f0f0, #d6d6d6 );
        border: 1px solid #9a9a9a;     
        box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0,0,0,0.15);
        background: var(--tab-bg) !important;
        color: var(--tab-text) !important;
    }
/* Layout consistency */
.row {
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.col-12 {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}
/* Message box fix */
.box {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}
/* Typography */
p {
    margin-bottom: 2.5rem;
    margin-top: 0;
    font-size: 1.3rem;
    line-height: 1.5;
}

.alert-secondary {
    background-color: #d9edf7 !important;
    color: #31708f !important;
    border: 1px solid #bce8f1 !important;
}

a {
    background-color: transparent;
  
    text-decoration: none;
    color: var(--actionlink-color);
}

img {
    border-style: none;
    max-width: 100%;
}
/* PRIMARY BUTTON (filled) */
.btn-primary {
    background: linear-gradient( to bottom, var(--amiga-header-top), var(--amiga-header-bottom) );
    border: 1px solid #9a9a9a;
    color: #1a1a1a;
    /* Raised button look */
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 rgba(0,0,0,0.2);
    font-weight: 600;
}

    /* HOVER */
    .btn-primary:hover {
        filter: brightness(0.98);
    }

    /* ACTIVE (pressed effect) */
    .btn-primary:active {
        box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3), inset -1px -1px 0 #ffffff;
        transform: translateY(1px);
    }

/* OUTLINE BUTTON */
.btn-outline-primary {
    background: linear-gradient( to bottom, #f0f0f0, #d6d6d6 );
    border: 1px solid #9a9a9a;
    color: #1a1a1a;
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0,0,0,0.15);
}

    /* OUTLINE HOVER */
    .btn-outline-primary:hover {
        background: linear-gradient( to bottom, var(--amiga-header-top), var(--amiga-header-bottom) );
    }

/* GENERIC BUTTON CLASS */
.button {
    background: linear-gradient( to bottom, var(--amiga-header-top), var(--amiga-header-bottom) );
    border: 1px solid #9a9a9a;
    color: #1a1a1a;
    padding: 6px 12px;
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 rgba(0,0,0,0.2);
    font-weight: 600;
}
h3 {
    font-weight: 300;
    letter-spacing: -.1rem;
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 2.8rem;
    line-height: 1.3;
    color: var( --h-text);
}
/*//HR form frame/////*/
.h3 {
    padding-top: 1rem;
    padding-bottom: 0.2rem;
    margin-left: 20px;
    letter-spacing: -0.1rem;
    margin-bottom: 2px;
    margin-top: 0;
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 400;
    color: var(--h-text);
    letter-spacing: 0.05rem;
}
h1 {
    
    color: var( --text);
}
/* //////////////////////////////////////////////////////ETC////////////////////////////////////////////////////*/

/* Dropdown overflow fix for DottedButton in MudTables */
.dropdown-cell {
    overflow: visible !important;
    position: relative !important;
}

    .dropdown-cell + tr,
    tr:has(.dropdown-cell) {
        overflow: visible !important;
    }

.mud-table-container {
    overflow: visible !important;
}

.mud-table-root {
    overflow: visible !important;
}

/*WCAG changes for tab visibility*/
.nav-link:focus-visible {
    outline: 2px solid rgba(63,92,207,.8);
}

a:focus-visible {
    outline: 2px solid black;
    outline-offset: 0.15rem;
}

.link-like {
    color: var(--bs-link-color);
    text-decoration: underline;
}

    .link-like:hover {
        cursor: pointer;
        color: var(--bs-link-hover-color);
    }

/* Styling for priority table */
td.col-1.priority-fix {
    width: auto;
}

.application-manualallocation-div {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.application-manualallocation-text {
    margin: 0;
    color: #D60000;
}

.application-manualallocation-icon {
    font-size: x-large;
    color: red;
}

.blazored-modal .bm-container {
    border: none !important;
   
}

.blazored-modal .bm-content {
    padding: 0.25rem;
    background:var(--card-bg);
}

.blazored-modal {
    border-radius: 1rem;
    padding: 2px;
    background: var(--card-bg);
    border: none !important;
}

.blazored-modal-container {
    z-index: 5060 !important;
}
.modal {
    z-index: 1060 !important;
}
body.modal-open {
    background-color: white !important;
}

/*////////////////////////////////////////////////////////////////////////////OLD////////////////////////////////////////////////////////*/
.wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

*, :after, :before {
    box-sizing: inherit;
}



.bg-primary {
    background: #5755d9 !important;
    color: #fff;
}



section {
    margin-top: 2rem;
}





.img-responsive {
    width: 100%;
    max-width: none;
    display: block;
    height: auto;
}

ul {
    list-style: none;
    margin-top: 0;
    padding-left: 0;
    margin-bottom: 2.5rem;
    padding: 0;
}

.wrap {
    white-space: pre-wrap;
}

li {
    margin-bottom: 1rem;
}

ul li {
    margin-top: .4rem;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.check-mark {
    vertical-align: sub;
    margin-right: .5rem;
    color: rgba(0,255,30,.7);
}

* {
    box-sizing: inherit;
}

.wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

*, :after, :before {
    box-sizing: inherit;
}

.modern-container {
   
}
.paper {
    box-shadow: 0 0.438rem 1.25rem 0 rgba(21,64,97,.15),0 0.063rem 0.25rem 0 rgba(21,64,97,.25);
    margin-bottom: 10rem;
    padding: 2rem;
}

p {
    margin-bottom: 2.5rem;
    margin-top: 0;
    color: var(--label-color);
}

.right-flex {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    text-align: end;
    justify-content: center;
    align-items: flex-end;
}

.sideBarLogo {
    background-color: white;
}

.sideBarLogo, img {
    background-color: white;
    height: auto;
    width: 12.5rem;
    align-content: center;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
    margin: auto;
}

header {
    box-shadow: 0 3px 20px 0 rgba(21,64,97,0.15), 0 1px 2px 0 rgba(21,64,97,0.25);
    border-top: 6px solid hsla(228, 60%, 53%, 0.8);
    color: hsl(24,12%,30%);
    margin-bottom: 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 400;
}
.navbar-logo {
    max-height: 45px;
    height: auto;
    width: auto;
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 8px;
    border: 1px solid silver;
    padding: 8px;
    border-radius: 4px;
}

legend {
    padding: 2px;
}

.tableMessage {
    min-width: 200px;
    /*min-height: 100px;*/
    overflow-x: scroll;
}

.clock {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}
.brand {
    height: 4rem;
    width: auto;
    max-width: 60px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}