﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
/*    --navbar-height: 3.5rem;*/
}

p {
/*    margin-top: 1.5rem;  
    margin-bottom: 1.5rem;*/
}

.js-enabled {
    display: none; /* Hidden by default */
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
    margin-top: 10px;
    /* Prevents the table from ever exceeding the parent container's width */
    max-width: 100%;
    /* Ensures words wrap instead of pushing the table width out */
    word-wrap: break-word;
    overflow: hidden;
}

@media (max-width: 768px) {
    .table-fixed {
        margin-top: 20px;
    }
}


a.text-decoration-none:hover {
    text-decoration: underline;
}
.form-control {
    margin-bottom: 1.5rem; /* Adjust the value as needed (e.g., 24px) */
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Recording */
.recording-ui {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0px;
    margin-bottom: 2px;
}

#recording-timer {
    font-weight: bold;
    margin-left: 10px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.recording-ui {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0px;
    margin-bottom: 2px;
}

#recording-timer {
    font-weight: bold;
    margin-left: 10px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.navbar.border-bottom {
    /* First Border Color (The main border) */
    border-bottom: 4px solid rgba(var(--bs-secondary-rgb), 1) !important;
    /* Second Border Color (Simulated by box-shadow) */
    /* Syntax: H-offset V-offset Blur-radius Spread-radius Color */
    box-shadow: 0 3px 0 0 rgba(var(--bs-primary-rgb), 0.85); /* Adjust '3px' based on your needs */
}

.navbar-light.navbar {
    background-color: rgba(var(--bs-primary-rgb), 0.85) !important; /* Use your desired color */
}

/* Navbar links with reduced opacity by default */
.navbar-light .navbar-nav .nav-link {
    color: var(--bs-white) !important;
    font-weight: 600;
    opacity: 0.9;
}

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link:focus {
        color: var(--bs-white) !important;
        opacity: 1;
        text-shadow: 0 0 1.5px var(--bs-white); /* Simulates bold without shifting */
    }

/* Dropdown toggle */
.navbar-light .navbar-nav .dropdown-toggle {
    color: var(--bs-white) !important;
    opacity: 0.9;
}

    .navbar-light .navbar-nav .dropdown-toggle:hover {
        opacity: 1;
    }


.navbar .navbar-toggler {
    color: white;
    background-color: white !important;
}

/* Dropdown items */
.dropdown-item {
    color: var(--bs-primary) !important;
    opacity: 0.7;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(var(--bs-primary-rgb), 0.15) !important;
        color: var(--bs-primary) !important;
        opacity: 1;
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    padding-top: calc(var(--navbar-height) + 10px);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    padding: 0px 10px;
}

.center-text {
    text-align: center;
}

/* wwwroot/css/site.css */
/* Existing styles, including @media (min-width: 768px) if present */
@media (min-width: 768px) {
    /* Your existing rules */
}

/* Two-column-flow styles */
.two-column-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns on wide screens */
    gap: 1rem;
}

    .two-column-flow > .d-flex {
        margin-bottom: 0.5rem;
        width: 100%;
    }

@media (max-width: 576px) { /* Reverted to 576px */
    .two-column-flow {
        grid-template-columns: 1fr !important; /* Single column */
    }

        .two-column-flow > .d-flex {
            width: 100% !important;
            display: block !important; /* Override d-flex for vertical stacking */
        }

        .two-column-flow > .d-flex .form-control {
            width: 100% !important;
        }
}

/* NavBar Styles (Scoped with nav-container)
-------------------------------------------------- */
/*.nav-container {
    position: relative;*/ /* Ensure proper positioning */
/*}

    .nav-container .navbar-nav {
        display: flex;
        flex-wrap: nowrap;*/ /* Prevent wrapping issues on smaller screens */
        /*align-items: center;*/ /* Vertically center items */
    /*}

    .nav-container .nav-link {
        padding: 0.5rem 1rem;
        color: #343a40 !important;*/ /* Dark text for light background */
        /*text-decoration: none;
        transition: color 0.2s;
    }

        .nav-container .nav-link:hover {
            color: #0056b3 !important;*/ /* Bootstrap 5 link hover color */
        /*}

    .nav-container .dropdown {
        position: relative;*/ /* Ensure dropdown positioning */
    /*}

    .nav-container .dropdown-menu {
        min-width: 10rem;*/ /* Minimum width for readability */
        /*background-color: #fff;*/ /* Match Bootstrap light theme */
        /*border: 1px solid rgba(0, 0, 0, 0.15);*/ /* Default Bootstrap border */
        /*border-radius: 0.25rem;*/ /* Rounded corners */
        /*box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);*/ /* Subtle shadow */
    /*}

    .nav-container .dropdown-item {
        color: #343a40;*/ /* Reset to dark text in dropdown */
    /*}

        .nav-container .dropdown-item:hover {
            background-color: #e9ecef;*/ /* Light gray hover for dropdown */
            /*color: #0d6efd;*/ /* Blue text on hover */
        /*}

    .nav-container .navbar-toggler {
        border: none;*/ /* Remove default border */
        /*padding: 0.25rem 0.75rem;*/ /* Adjust padding */
    /*}

    .nav-container .navbar-collapse {*/
        /* Removed flex-grow: 0; to allow Bootstrap default expansion */
        /* Removed justify-content: space-between; as me-auto handles positioning */
    /*}

@media (max-width: 575.98px) {*/ /* Aligned to Bootstrap sm breakpoint */
    /*.nav-container .navbar-nav {
        flex-direction: column;*/ /* Stack items vertically on collapse */
        /*align-items: stretch !important;*/ /* Override 'center' to make items full width */
    /*}

    .nav-container .nav-link {
        padding: 0.5rem 0;*/ /* Adjust padding for vertical layout */
    /*}

    .nav-container .dropdown-menu {
        position: static;*/ /* Adjust dropdown position on mobile */
        /*float: none;*/ /* Prevent float issues */
        /*width: 100%;*/ /* Full width on mobile */
    /*}*/

    /* Align main/left nav items to the left */
    /*.nav-container .main-nav .nav-item {
        width: 100%;
        justify-content: flex-start;*/ /* Justify content left within full-width item */
    /*}

    .nav-container .main-nav .nav-link,
    .nav-container .main-nav .dropdown-item {
        text-align: left !important;
    }*/

    /* Align login/right items to the right */
    /*.nav-container .login-nav .nav-item {
        width: 100%;
        justify-content: flex-end;*/ /* Justify content right within full-width item */
    /*}

    .nav-container .login-nav .nav-link {
        text-align: right !important;
    }*/

    /* Specifically target the Logout button to ensure alignment */
    /*.nav-container .login-nav .btn.nav-link {
        text-align: right !important;
        padding-right: 0;*/ /* Remove any right padding that might indent */
        /*margin-left: auto;*/ /* Push to right if needed */
    /*}
}*/

/*Font Awesome Icons*/

/*.fa-solid {
    color: dimgray !important;
    font-size: 2.5rem;
}


.aes-class-session-table .fa-solid:hover {
    opacity: 0.7;
    color: black !important;
    transition: color 0.2s ease;
}

*/

.aes-button {
/*    position: relative;*/
    color: var(--bs-primary);
    text-decoration: none;
    border: 1.3px solid var(--bs-gray-500);
    padding: 3px 7px;
    border-radius: 2px;
/*    top: 10px;*/
    margin: 5px;
    line-height: 2rem;
    font-weight: 500;
    background: white;
}

.aes-button:hover {
    background-color: var(--bs-primary);
    color: white;
    border: 1.3px solid white;
}

/*replace details summary ::marker with a font-awesome marker*/

summary {
    list-style: none; /* removes default arrow in most browsers */
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none; /* Safari/Chrome */
}

    summary::before {
        font-family: "Font Awesome 6 Free"; /* or your FA version */
        font-weight: 900; /* solid style */
        content: "\f0da"; /* Font Awesome code (chevron-right) */
        margin-right: 0.5em;
        transition: transform 0.2s ease;
    }

details[open] summary::before {
    content: "\f0d7"; /* chevron-down */
}
/*//////////////////////////////////////////////////////////*/

.details-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--bs-primary);
    position: relative; /* needed for ::after positioning */
    display: inline-block; /* keeps underline only as wide as the text */
    margin-top: 40px;
    margin-bottom: 20px;
}

    .details-section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px; /* adjust spacing under text */
        width: 100%;
        height: 4px; /* thickness of underline */
        background-color: var(--bs-primary); /* underline color */
        border-radius: 2px; /* optional rounded edges */
        opacity: 0.3;
        
    }

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* custom tooltip. make sure to add a div with a class of custom-tooltip and attribute of data-tooltip for the text*/
.custom-tooltip {
    position: relative;
    cursor: pointer;
    
}

    /* Reset positioning context for nested elements */
    .custom-tooltip > * {
        position: static !important; /* or just position: static; */
    }


    .custom-tooltip:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        text-align: left;
        top: 130%;
        left: -50px;
        background-color: white;
        color: red;
        font-weight: 600;
        padding: 5px 5px;
        opacity: 0.9;
        border-radius: 2px;
        font-size: 1rem;
        white-space: nowrap;
        word-break: break-word; /* prevent overflow on long words */
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        animation: fadeIn 0.3s ease-in-out forwards;
    }

@media (max-width: 768px) {
    .custom-tooltip:hover::after {
        top: 130%;
        left: 0px;
        transform: translateX(-40%);
        font-size: 0.8rem;
    }
}

.custom-tooltip.tooltip-left:hover::after {
    left: 50px;
}

.custom-tooltip.tooltip-right:hover::after {
    left: -120px;
}

.custom-tooltip.tooltip-bottom-left:hover::after {
    left: 50px;
    top: -10px;
}

@keyframes fadeIn {
    from

{
    opacity: 0;
}

to {
    opacity: 0.8;
}
}

/*custom tooltip for long text*/
/* custom tooltip. make sure to add a div with a class of custom-tooltip and attribute of data-tooltip for the text*/
.custom-tooltip-long {
    position: relative;
    cursor: pointer;
}

    /* Reset positioning context for nested elements */
.custom-tooltip-long * {
    position: relative;
}


    .custom-tooltip-long:hover::after {
        content: attr(data-tooltip-long);
        position: absolute;
        text-align: left;
        top: 130%;
        left: 0px;
        background-color: white;
        color: red;
        font-weight: 600;
        padding: 5px 5px;
        opacity: 0.9;
        border-radius: 2px;
        font-size: 1rem;
        white-space: normal; /* allow wrapping */
        width: 30vw;
        word-break: break-word; /* prevent overflow on long words */
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        animation: fadeIn 1s ease-in-out forwards;
    }

@media (max-width: 768px) {
    .custom-tooltip-long:hover::after {
        top: 120%;
        width: 70vw;
        font-size: 1rem;
    }
}

)

@keyframes fadeIn {
    from

{
    opacity: 0;
}

to {
    opacity: 0.8;
}
}


/*///////////////////////////////////////////////////////////////////////////////////*/

/*CUSTOM AUDIO PLAYER*/
/*audio {
    width: 200px;
    background: transparent;
}

    audio::-webkit-media-controls-panel {
        background: transparent;
    }*/
audio {
    width: 200px;
    height: 3rem;
    padding: 0px;
    border-radius: 2px;
    font-family: Arial, sans-serif;
}

    audio::-webkit-media-controls-panel {
        padding: 0 4px; /* Reduces overall internal spacing */
        border-radius: 10px; /* Change this value to whatever you want */
    }

/*////////////////////////////////////////////////////////////////////////*/

    details.no-caret summary::before {
        display: none;
    }

.audio-player {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 3rem; /* match .recording-button height */
    padding: 0 10px;
    border: 3px solid var(--bs-primary);
    border-radius: 30px;
    color: var(--bs-primary);
    background: white;
    font-weight: 600;
    width: 180px;
}

    .audio-player * {
        vertical-align: middle;
    }

.audio-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.1s ease;
}

    .audio-btn:hover {
        color: red;
        transform: scale(1.1);
    }

    .audio-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.audio-progress {
    flex: 1;
    display: flex;
    align-items: center;
}

    .audio-progress input[type="range"] {
        width: 100%;
        height: 3px;
        border-radius: 3px;
        appearance: none;
        background: linear-gradient(to right, red var(--progress, 0%), #ccc var(--progress, 0%));
        cursor: pointer;
        transition: background 0.2s;
    }

        .audio-progress input[type="range"]::-webkit-slider-thumb {
            appearance: none;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: red;
            cursor: pointer;
            transition: transform 0.1s ease;
        }

            .audio-progress input[type="range"]::-webkit-slider-thumb:hover {
                transform: scale(1.2);
            }

@media (max-width: 768px) {
    .audio-player {
        width: 270px;
        padding: 3px 12px;
    }

    .audio-progress input[type="range"] {
        height: 2px;
    }
}

.audio-time {
    margin-left: 2px;
    font-size: 0.75rem;
    color: #666;
    min-width: 32px;
    text-align: right;
    user-select: none;
}

@media (max-width: 768px) {
    .audio-time {
        font-size: 0.7rem;
        min-width: 28px;
    }
}

.audio-btn.play-btn {
    margin-right: 8px; /* adjust to your liking — 6–12px usually looks great */
}

.calendar-search-container {
    margin: auto 5px;
    color: var(--bs-primary);
}

    .calendar-search-container p {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap; /* wraps to next line when not enough space */
    }


.calendar-search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap; /* prevent wrapping */
}

.calendar-search-container .input-field {
    padding: 10px;
    border: 1px solid white;
    background: rgba(var(--bs-primary-rgb), 0.9);
    color: white;
    border-radius: 3px;
    font-weight: 700;
}


.search-container-wrapper {
    position: relative;
    margin-bottom: 45px;
    top: 0px;
}

@media (max-width: 768px) {
    .search-container-wrapper {
        margin-bottom: 10px;
    }
}

/*preventing zooming upon clicking the search field on mobile devices*/
@media (max-width: 768px) {
    .search-container-wrapper input,
    .search-container-wrapper textarea,
    .search-container-wrapper select {
        font-size: 16px;
    }
}

.search-container {
    color: var(--bs-primary);
    max-width: 600px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Desktop positioning */
@media (min-width: 768px) {
    .search-container {
        position: absolute;
        top: -65px;
        right: 15px;
        margin-top: 0;
    }
}

/* Inputs */
.search-container .input-field {
    padding: 10px;
    border: 1px solid white;
    background: rgba(var(--bs-primary-rgb), 0.9);
    color: white;
    border-radius: 3px;
    font-weight: 700;
}

/* Search box layout */
.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 10px;
    border-radius: 3px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}

    .search-box h3 {
        margin: 0 4px 0 0;
        font-size: 1.1rem;
        line-height: 1.2;
    }

    /* Match input & button heights cleanly */
    .search-box .input-field,
    .search-box .aes-button {
        height: 2.5rem;
        box-sizing: border-box;
    }

.search-input-row {
    display: flex;
    align-items: center; /* CRITICAL */
    gap: 0.5rem;
}

/* Mobile behavior */
@media (max-width: 768px) {

    .search-box {
        flex-direction: column;
        align-items: stretch;
        padding: 0px 10px;
        border-radius: 0px;
        box-shadow: none;
    }

    .search-input-row {
        display: flex;
        align-items: center; /* KEY LINE */
        gap: 0.5rem;
    }

        .search-input-row .input-field {
            flex: 1;
            min-width: 0;
        }
}

/*column header*/
.column-header {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .column-header {
        font-size: 17px;
    }
}

.selected-column-header {
    color: rgba(var(--bs-primary-rgb), 1);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .selected-column-header {
        font-size: 20px;
    }
}

@media (max-width: 1280px) {
    .hide-on-tablet {
        display: none;
    }
}

.break-long-words {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.break-long-strings {
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

/*Font Awesome*/

th .fa-solid {
    opacity: 0.7;
    font-size: 2rem;
    color: var(--bs-primary) !important;
}


    th .fa-solid:hover {
        opacity: 0.7;
        color: black !important;
        transition: color 0.2s ease;
    }


.aes-class-session-table tr:hover .command-buttons a.delete-class-button {
    color: red;
    background: white;
    border: 2px solid red;
}

/*Command buttons*/
.command-buttons {
    /* display: flex;
    flex-wrap: wrap;*/
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
}


    /*Style for the buttons on the right hand side of the class sessions page*/
    .command-buttons a {
        background: white;
        color: var(--bs-primary);
        text-decoration: none;

        border-radius: 2px;
        /*        margin-top: 1.7rem;*/
        /*        margin-bottom: 1.7rem;*/
        line-height: 2.5rem;
        font-weight: 500;
        white-space: nowrap;
        word-break: keep-all;
        /*flex: 1 1 calc(50% - 0.5rem);*/ /*2 per row */
        /*min-width: 100px;
        display: inline-flex;*/
        align-items: center;
        justify-content: center;
        padding-left: 5px;
        padding-right: 5px;
        border: 2px solid var(--bs-primary);
    }


        .command-buttons a:hover {
            background-color: var(--bs-primary) !important;
            color: white !important;
            border: 2px solid white !important;
        }

        .command-buttons a.delete-class-button {
            color: red;
            border: 2px solid red;
        }

.command-buttons-2 {
    /* display: flex;
    flex-wrap: wrap;*/
    gap: 0.4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Three equal columns */
    align-content: start; /* Align content to top */
    /*    min-height: 130px;*/
}

    /*used in the course index*/
    .command-buttons-2 .command-label {
        font-weight: 600;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: end;
        font-size: 1rem;
        padding-right: 10px;
    }

    /*Style for the buttons on the right hand side of the class sessions page*/
    .command-buttons-2 a {
        background: white;
        color: var(--bs-primary);
        text-decoration: none;
        border-radius: 2px;
        /*        margin-top: 1.7rem;*/
        /*        margin-bottom: 1.7rem;*/
        line-height: 1.7rem;
        font-weight: 500;
        white-space: nowrap;
        word-break: keep-all;
        /*flex: 1 1 calc(50% - 0.5rem);*/ /*2 per row */
        /*min-width: 100px;
        display: inline-flex;*/
        align-items: center;
        justify-content: center;
        padding-left: 5px;
        padding-right: 5px;
        border: 2px solid var(--bs-primary);
    }


        .command-buttons-2 a:hover {
            background-color: var(--bs-primary) !important;
            color: white !important;
            border: 2px solid white !important;
        }

        .command-buttons-2 a.delete-class-button {
            color: red;
            border: 2px solid red;
        }

    .command-buttons-2 span:not(.command-label) {
        width: 0;
        min-width: 0;
        opacity: 0; /* Make invisible */
    }

.command-buttons-3 {
    /* display: flex;
    flex-wrap: wrap;*/
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    align-content: start; /* Align content to top */
    /*    min-height: 130px;*/
}

    /*used in the course index*/
    .command-buttons-3 .command-label {
        font-weight: 600;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: end;
        font-size: 1.3rem;
        padding-right: 10px;
    }

    /*Style for the buttons on the right hand side of the class sessions page*/
    .command-buttons-3 a {
        background: white;
        color: var(--bs-primary);
        text-decoration: none;
        border-radius: 2px;
        /*        margin-top: 1.7rem;*/
        /*        margin-bottom: 1.7rem;*/
        line-height: 2.5rem;
        font-weight: 500;
        white-space: nowrap;
        word-break: keep-all;
        /*flex: 1 1 calc(50% - 0.5rem);*/ /*2 per row */
        /*min-width: 100px;
        display: inline-flex;*/
        align-items: center;
        justify-content: center;
        padding-left: 5px;
        padding-right: 5px;
        border: 2px solid var(--bs-primary);
    }


        .command-buttons-3 a:hover {
            background-color: var(--bs-primary) !important;
            color: white !important;
            border: 2px solid white !important;
        }

        .command-buttons-3 a.delete-class-button {
            color: red;
            border: 2px solid red;
        }

        .command-buttons-3 a.userimport-button {
            color: forestgreen;
            border: 2px solid forestgreen;
        }

    .command-buttons-3 span:not(.command-label) {
        width: 0;
        min-width: 0;
        opacity: 0; /* Make invisible */
    }

.command-buttons-4 {
    /* display: flex;
    flex-wrap: wrap;*/
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Three equal columns */
    align-content: start; /* Align content to top */
    /*    min-height: 130px;*/
}

/*used in the course index*/
.command-buttons-4 .command-label {
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 1.3rem;
    padding-right: 10px;
}

    /*Style for the buttons on the right hand side of the class sessions page*/
    .command-buttons-4 a {
        background: white;
        color: var(--bs-primary);
        text-decoration: none;
        border-radius: 2px;
        /*        margin-top: 1.7rem;*/
        /*        margin-bottom: 1.7rem;*/
        line-height: 2.5rem;
        font-weight: 500;
        white-space: nowrap;
        word-break: keep-all;
        /*flex: 1 1 calc(50% - 0.5rem);*/ /*2 per row */
        /*min-width: 100px;
        display: inline-flex;*/
        align-items: center;
        justify-content: center;
        padding-left: 5px;
        padding-right: 5px;
        border: 2px solid var(--bs-primary);
    }


        .command-buttons-4 a:hover {
            background-color: var(--bs-primary) !important;
            color: white !important;
            border: 2px solid white !important;
        }

        .command-buttons-4 a.delete-class-button {
            color: red;
            border: 2px solid red;
        }

    .command-buttons-4 span:not(.command-label) {
        width: 0;
        min-width: 0;
        opacity: 0; /* Make invisible */
    }

.command-buttons-5 {
    /* display: flex;
    flex-wrap: wrap;*/
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Three equal columns */
    align-content: start; /* Align content to top */
    /*    min-height: 130px;*/
}

    /*used in the course index*/
    .command-buttons-5 .command-label {
        font-weight: 600;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: end;
        font-size: 1.3rem;
        padding-right: 10px;
    }

    /*Style for the buttons on the right hand side of the class sessions page*/
    .command-buttons-5 a {
        background: white;
        color: var(--bs-primary);
        text-decoration: none;
        border-radius: 2px;
        /*        margin-top: 1.7rem;*/
        /*        margin-bottom: 1.7rem;*/
        line-height: 2rem;
        font-weight: 500;
        white-space: nowrap;
        word-break: keep-all;
        /*flex: 1 1 calc(50% - 0.5rem);*/ /*2 per row */
        /*min-width: 100px;
        display: inline-flex;*/
        align-items: center;
        justify-content: center;
        padding-left: 5px;
        padding-right: 5px;
        border: 2px solid var(--bs-primary);
    }


        .command-buttons-5 a:hover {
            background-color: var(--bs-primary) !important;
            color: white !important;
            border: 2px solid white !important;
        }

        .command-buttons-5 a.delete-class-button {
            color: red;
            border: 2px solid red;
        }

    .command-buttons-5 span:not(.command-label) {
        width: 0;
        min-width: 0;
        opacity: 0; 
    }

.create-new {
    position: fixed;
    bottom: 20px;
    left: 40px;
    color: red;
    font-size: 4rem;
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {

    .create-new {
        left: 20px;
        bottom: 10px;
        font-size: 2rem;
    }
}

.create-new i {
    position: relative;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/*/////////////////////////*/

.status-ok {
    color: #28a745; /* green */
    font-size: 1.8rem;
    vertical-align: middle;
}