/* ===========================
   Global Variables
=========================== */
:root {
    --bs-wozzadPrimaryBlue: #126a90;
    --bs-wozzadSecondaryBlue: #3fa9f5;
}

body {
    margin: 0;
    padding: 0;
}

/* ===========================
Loading menu
=========================== */
.centralize {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.splashImage {
    width: 150px;
    height: 49px
}

.hei-logo {
    /* Default styles for all screen sizes */
    max-height: 5rem;
}

/* ===========================
   Main Layout
=========================== */

/*.page {
    margin-left: 2rem;
}
*/
.e-sidebar {
    background-color: var(--bs-wozzadPrimaryBlue);
}

/* Center all header tags in their container */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
}



.large-hamburger-white {
    font-size: 4rem;
    color: white;
}

.large-hamburger-blue {
    font-size: 4rem;
    color: var(--bs-wozzadPrimaryBlue);
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.body {
}

.screen {
    overflow-x: hidden;
}

.menu-divider {
    height: 2px;
    background-color: white;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidebar-container {
    color: white;
}

.fa {
    color: var(--bs-wozzadPrimaryBlue);
}

/*larger screens */
@media (min-width: 768px) {
    .hamburger-icon {
        display: none;
    }

    .header {
        height: 5rem;
        border-block-end: 3px solid var(--bs-wozzadPrimaryBlue);
    }

    .body {
        padding-left: 2rem;
        padding-top: 1rem;
    }

    .wozzad-logo {
        padding-top: 1rem;
    }

    .sidebar-greeting {
        display: none;
    }

    .sidebar-header {
        background-color: white;
        height: 5rem;
        padding: 0 1rem; /* Add 1rem padding to the left and right */
        box-sizing: border-box; /* Ensure padding is included in the element's dimensions */
        padding-bottom: 1rem;
        border-block-end: 3px solid var(--bs-wozzadPrimaryBlue);
    }

    .sidebar-maincontent {
        color: white;
        padding: 0 1rem;
        padding-bottom: 1rem;
        padding-top: 1rem;
        display: flex;
        flex-direction: column; /* Stack children vertically */
        height: 100%; /* Define the height of the container */
    }

        .sidebar-maincontent .menu-divider {
            margin-top: auto; /* Push the div to the bottom */
        }


    .sidebar-footer {
        color: white;
        padding: 0 1rem;
    }

    .mobile-only {
        display: none;
    }

    .sidebar-container {
        display: grid;
        grid-template-rows: 5rem 80%;
        height: 100%;
    }
}

/*smaller screens */
@media (max-width: 767px) {
    .body {
        margin: 1.5rem;
    }

    .hamburger-icon {
        display: block;
    }

    .header {
        height: 4rem;
        border-block-end: 5px solid var(--bs-wozzadPrimaryBlue);
    }

    .hei-logo {
        max-height: 4rem;
    }

    .flex-container {
        justify-content: center;
    }

    .wozzad-logo {
        display: none;
    }

    .sidebar-header {
        height: 20%;
        padding: 0 1rem; /* Add 1rem padding to the left and right */
        box-sizing: border-box; /* Ensure padding is included in the element's dimensions */
        padding-bottom: 1rem;
    }

    .sidebar-maincontent {
        height: 70%;
        padding: 0 1rem;
        padding-bottom: 1rem;
    }

    .sidebar-footer {
        height: 10%;
        padding: 0 1rem;
    }

    .sidebar-greeting {
        color: var(--bs-wozzadSecondaryBlue);
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Align content to the bottom */
        align-items: flex-start; /* Align content to the left */
        height: 100%; /* Ensure it takes the full height of the container */
        box-sizing: border-box; /* Include padding in the element's dimensions */
    }
}

/* ===========================
GENERAL STYLING
=========================== */


/* ===========================
   BLAZOR DEFAULT ERROR STYLING
=========================== */

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiI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EuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}






/*dashboard items*/
.dashboard-box {
    width: 15rem;
    height: 15rem;
    color: white;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.dashboard-count {
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dashboard-count h1 {
        font-size: 6rem;
    }

.dashboard-title {
    height: 15%;
    font-size: small;
    text-align: center;
}

    .dashboard-title h2 {
        font-size: 1rem;
    }




/*application component*/
.application-component {
    border: 2px solid black;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: white;
    box-sizing: border-box;
    width: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* Reduce space between rows */
}

/* List container for ApplicationComponent items */
.application-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.button-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 768px) {
    .application-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .application-component {
        max-width: 420px;
        min-height: 140px;
        padding: 0.75rem 1rem;
        gap: 0.2rem;
    }

        .application-component .app-number,
        .application-component .app-status {
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.01em;
        }

        .application-component .last-update,
        .application-component .basket-status,
        .application-component .coursecode-date,
        .application-component .coursename {
            font-size: 0.95rem;
            font-weight: 500;
        }
}

.application-component .app-number {
    font-size: large;
    color: #6c757d;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.application-component .app-status {
    font-size: medium;
    color: deepskyblue;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.application-component .last-update {
    color: deepskyblue;
    font-size: small;
}

.application-component .basket-status {
    font-weight: 700;
    font-size: medium;
}

.application-component .coursecode-date {
    font-size: medium;
    color: darkblue;
}

.application-component .coursename {
    font-size: medium;
    color: darkblue;
    font: 700;
}
