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

/*html, body {*/
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*font-family: 'Trebuchet MS', sans-serif;
}*/

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

/*.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
*/
.btn.active {
    background-color: #18bc9c;
    /*border: 2px solid #fd7e14;*/    
}

.btn-primary:hover {
    background-color: #f39c12;
    border-color: #545b62; /* Even darker gray for the border */
}

/*#region QUICK GRID */
.meeting-notes-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 2rem;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    background-color: #d8f0d3;
}

.filter-item {
    flex: 1 1 180px; /* Allow items to grow and shrink with a base size */
}

.filter-item-auto {
    flex: 0 0 auto; /* This item will not grow or shrink, but size to its content */
}

.filter-item label {
    font-weight: 500;
    margin-bottom: .25rem;
    display: block;
}

/* Sets a max-height and enables vertical scrolling */
.grid-container {
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
}

/* Ensures the table takes up the full container width with a fixed layout */
.table-fixed {
    /* table-layout: fixed; */
    width: 100%;
}

    /* FIX: Set fixed widths for smaller columns and let the wider ones auto-size to fill remaining space. */
    .table-fixed th:nth-child(1), .table-fixed td:nth-child(1) {
        width: 120px;
    }
    /* Project ID */
    .table-fixed th:nth-child(4), .table-fixed td:nth-child(4) {
        width: 120px;
    }
    /* Date */
    .table-fixed th:nth-child(5), .table-fixed td:nth-child(5) {
        width: 120px;
        text-align: center;
    }
    /* Submitted */

    /* FIX: Reduce font size for grid headers and content */
    .table-fixed th, .table-fixed td {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem; /* Adjusted padding for better visual balance */
        vertical-align: middle;
    }

    .table-fixed th {
        font-weight: 600; /* Make headers slightly bolder */
        background-color: #d8f0d3; /* Light green */
    }


/* Style for the custom status icons */
.status-submitted {
    color: #28a745; /* Green */
    font-size: 1.2rem;
    font-weight: bold;
}

.status-not-submitted {
    color: #fd7e14; /* Orange */
    font-size: 1.2rem;
    font-weight: bold;
}

/* Standard Bootstrap-like styling for inputs and buttons if not already present */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover {
        background-color: #5a6268;
        border-color: #545b62;
    }

/* Set width of team filter to auto-size based on content */
#team-filter.form-control {
    width: auto;
}

/* --- START: CLEAN QUICKGRID STYLES --- */

/* This is the parent container from the .razor file. */
/*.grid-container {
    height: 500px;*/ /* As requested: The fixed height for the scrollable area. */
    /*width: 100%;
   overflow: hidden;*/ /* Hide any overflow from this container itself. */
    /*border: 1px solid #ccc;*/ /* Optional: adds a border to see the container. */
/*}*/

    /* This targets the main container that Blazor's <QuickGrid> component creates. */
    /*.grid-container .quickgrid {
        height: 100%;
        display: flex;
        flex-direction: column;
    }*/

        /* This targets the scrollable body of the grid. */
        /*.grid-container .quickgrid .table-container {
            overflow-y: auto;*/ /* Adds the vertical scrollbar ONLY to the grid's rows. */
        /*}*/

        /* This makes the headers "sticky" and sets the table layout. */
        /*.grid-container .quickgrid thead th {
            position: sticky;
            top: 0;
            background-color: #f2f2f2;*/ /* A light grey background for the header. */
            /*z-index: 1;
        }*/

        /* This is the KEY FIX for stable column widths. */
        /*.grid-container .quickgrid table {
            table-layout: fixed;
            width: 100%;
        }*/

    /* Define widths for the columns using the classes from the .razor file. */
    /*.grid-container .col-id {
        width: 5%;
    }*/

/*    .grid-container .col-assignment {
        width: 20%;
    }

    .grid-container .col-course {
        width: 15%;
    }

    .grid-container .col-team {
        width: 20%;
    }

    .grid-container .col-date {
        width: 10%;
    }

    .grid-container .col-status {
        width: 15%;
    }
*/
/* --- END: CLEAN QUICKGRID STYLES --- */
/* #endregion QUICK GRID */

/* #region CMS FORMATS */
.cmsHeader{
    font-size: 24px;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzU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2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.formgroup{
    margin-bottom:8px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #7dcee1;
}

[aria-selected='true'] {
    background-color: #fde6b4;
}


.btn-group-vertical.left {
    display: block;
    margin: 0 auto;
    max-height: 50px;
    font-size: 8px;
    text-align: left;
}

.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
}

.cmsForm input{
    font-size: 12px;
}

/* #endregion CMS FORMATS */


/*#region M-FLEX-------------------------------------------------------------------------------*/
/*m-flex {
    display: flex;
    padding: 1em;
    position: relative;
    transition: width .35s;
    font-size: 12px;
}

    .wAuto,
    m-flex.wAuto {
        width: auto;
    }

    .w,
    m-flex.w {
        width: 100%;
    }

    m-flex.leaderboard {
        width: 100%;
        height: 10%;
    }

    .w90,
    m-flex.w90 {
        width: 90%;
    }

    .w80,
    m-flex.w80 {
        width: 80%;
    }

    .w75,
    m-flex.w75 {
        width: 75%;
    }

    .w70,
    m-flex.w70 {
        width: 70%;
    }

    .w66,
    m-flex.w66 {
        width: 66%;
    }

    .w60,
    m-flex.w60 {
        width: 60%;
    }

    .w55,
    m-flex.w55 {
        width: 55%;
    }

    .w50,
    m-flex.w50 {
        width: 50%;
    }

    .w49,
    m-flex.w49 {
        width: 49%;
    }

    .w48,
    m-flex.w48 {
        width: 48%;
    }

    .w47,
    m-flex.w47 {
        width: 47%;
    }

    .w45,
    m-flex.w45 {
        width: 45%;
    }

    .w40,
    m-flex.w40 {
        width: 40%;
    }

    .w35,
    m-flex.w35 {
        width: 35%;
    }

    .w33,
    m-flex.w33 {
        width: 33%;
    }

    .w32,
    m-flex.w32 {
        width: 32%;
    }

    .w30,
    m-flex.w30 {
        width: 30%;
    }

    .w25,
    m-flex.w25 {
        width: 25%;
    }

    .w24,
    m-flex.w24 {
        width: 24%;
    }

    .w20,
    m-flex.w20 {
        width: 20%;
    }

    .w19,
    m-flex.w19 {
        width: 19%;
    }

    .w15,
    m-flex.w15 {
        width: 15%;
    }

    .w10,
    m-flex.w10 {
        width: 10%;
    }

    .w0,
    m-flex.w0 {
        width: 0%;
    }

    m-flex.expand {
        flex: 1;
    }

    m-flex.disabled {
        opacity: .5 !important;
    }

    m-flex.absolute {
        position: absolute;
        top: 105%;
        left: 0;
        z-index: 100;
        background-color: #fff;
        overflow-y: scroll;
        max-height: 400px;
    }

    m-flex[data-type="row"] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

        m-flex[data-type="row"].u {
            align-items: unset;
        }

        m-flex[data-type="row"].c {
            justify-content: center;
            align-items: center;
        }

        m-flex[data-type="row"].s {
            justify-content: flex-start;
            align-items: flex-start;
        }

        m-flex[data-type="row"].sC {
            justify-content: flex-start;
            align-items: center;
        }

        m-flex[data-type="row"].sB {
            justify-content: space-between;
        }

        m-flex[data-type="row"].sA {
            justify-content: space-around;
            flex-wrap: wrap;
        }

        m-flex[data-type="row"].e {
            justify-content: flex-end;
        }

        m-flex[data-type="row"].eA {
            align-items: flex-end;
        }

    m-flex[data-type="col"] {
        flex-direction: column;
        justify-content: center;
    }

        m-flex[data-type="col"].c {
            justify-content: center;
            align-items: center;
        }

        m-flex[data-type="col"].s {
            justify-content: flex-start;
            align-items: flex-start;
        }

        m-flex[data-type="col"].sC {
            justify-content: center;
            align-items: flex-start;
        }

    .n,
    m-flex.n {
        padding: 0;
        margin: 0;
    }

    .pT,
    m-flex.pT {
        padding-top: 1em;
    }

    .pB,
    m-flex.pB {
        padding-bottom: 1em;
    }

    .pTB,
    m-flex.pTB {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .pL,
    m-flex.pL {
        padding-left: 1em;
    }

    .pR,
    m-flex.pR {
        padding-right: 1em;
    }

    .pLR,
    m-flex.pLR {
        padding-left: 1em;
        padding-right: 1em;
    }

    .mT,
    m-flex.mT {
        margin-top: 1em;
    }

    .mB,
    m-flex.mB {
        margin-bottom: 1em;
    }

    .mL,
    m-flex.mL {
        margin-left: 1em;
    }

    .mR,
    m-flex.mR {
        margin-right: 1em !important;
    }

    m-flex.wR {
        flex-wrap: wrap;
    }

    m-flex.bW {
        background-color: #FFF;
    }

    m-flex.round {
        width: 100%;
        min-width: 30px;
        max-width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1px solid #888;
        margin: 10px 10px 10px 0px;
        transition: border .35s;
    }

        m-flex.round.active {
            border: 5px solid #00AEEF;
        }

    m-flex.sQ {
        width: 100%;
        min-width: 50px;
        max-width: 50px;
        height: 50px;
    }

    m-flex.primary {
        background-color: #00AEEF;
        color: #FFF;
    }

    m-flex.secondary {
        background-color: #FAFAFA;
    }

    m-flex.tertiary {
        background-color: transparent !important;
    }

    m-flex.blue {
        background-color: #F5F6FA;
    }

    m-flex.sQ:hover {
        cursor: pointer;
    }

    m-card.tableRow > m-flex.xs,
    m-flex.xs {
        min-width: 20px;
        max-width: 20px;
        height: 20px;
        min-height: 20px;
        max-height: 20px;
    }

        m-flex.xs i,
        m-flex.xs svg {
            width: 1em;
            height: 100%;
        }

    m-flex.sm {
        min-width: 40px;
        max-width: 40px;
        height: 40px;
    }

    m-flex.lg {
        min-width: 60px;
        max-width: 60px;
        height: 60px;
    }

    m-flex.tab {
        padding: 0 .85em;
        height: 50px;
    }

m-accordian m-flex.tab {
    border: 1px solid #EEE;
    border-radius: 2px;
    margin: 0 .25em;
}

m-flex.tab span {
    font-size: 1em;*/
    /*margin-left: .5em;*/
/*}

.tE,
m-flex.tE {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.tC,
m-flex.tC {
    text-align: center;
}

m-flex.red {
    background-color: red !important;
    border-radius: 2px;
}

    m-flex.red i,
    m-flex.red svg {
        color: white;
        fill: white;
    }

m-flex.container {
    max-width: 1000px;
    margin: 0 auto;
    justify-content: flex-start;
}

[data-label="Primary"] > .container-sm,
[data-label="Primary"] > .container {
    min-height: 800px;
}

m-flex.container-sm {
    max-width: 600px;
    margin: 0 auto;
}

m-flex.container-xs {
    max-width: 325px;
    margin: 0 auto;
    height: 100%;
    max-height: 100vh;
}

m-flex.container-md {
    width: 600px;
    margin: 0 auto;
    height: 100%;
    max-height: 100vh;
}

m-flex.gray {
    height: 100vh;
    background-color: #f5f5f5;
}

m-flex.abs {
    position: absolute;
    z-index: 100000;
    bottom: 0;
    right: 0;
}

m-flex.flag {
    left: -10px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

m-flex.bR,
m-flex.bT {
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
}

m-flex.bT {
    border-width: 1px 0;
}

m-flex.bR {
    border-width: 0px 1px 0px 0px;
}*/
/*#endregion */





    .programClose-item {
    flex: 1 1 20px;
    padding: 0;
    margin: 0;
    /*width: max-content;*/
    /*align-items: left;*/
}
    .programClose-item.wS {
        flex: 0 0 4em;
        /*width: max-content;*/
        /*align-items: left;*/
    }