.comedy-mode {
    background-image: none; /* No background image for a clean, serious look */
    background-color: #ffffff; /* White background for a crisp, professional appearance */
    border: 1px solid #ccc; /* Solid, light grey border for a subtle separation */
}

    .comedy-mode p {
        font-style: normal; /* Normal font style for a professional tone */
        color: #333; /* Dark grey for readability and a touch of formality */
    }

    /* Applying the subtle shake to the "Express Displeasure" button */
    .comedy-mode .mud-button[OnClick="ComplainAboutWait"] {
        animation: subtleShake 1s infinite; /* Subtle shake animation */
    }

@keyframes subtleShake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px); /* Reduced shake movement for subtlety */
    }

    20%, 40%, 60%, 80% {
        transform: translateX(2px); /* Reduced shake movement for subtlety */
    }
}


/* If you want to differentiate the "Express Displeasure" button further */
.comedy-mode .mud-button[OnClick="ComplainAboutWait"] {
    background-color: #d9d9d9; /* Light grey background */
    color: #333; /* Dark grey text for contrast */
    border: 1px solid #999; /* A subtle grey border */
    font-weight: bold; /* For emphasis */
    animation: subtleShake 1s infinite; /* Apply the subtle shake */
}

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

.btn {
    margin: 2px;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.toggle-button {
    font-size: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    color: white;
}

.inactive-button {
    background-color: lightgray;
    border-color: lightgray;
}

.active-button {
    background-color: green;
    border-color: green;
}

.search-bar {
    position: relative;
    width: 400px;
    padding: 4px;
}

    .search-bar input {
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

        .search-bar input:focus {
            outline: none;
            border-color: #007bff;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }


.pagination-container {
    gap: 8px;
}

.pagination-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
}

    .pagination-btn[disabled] {
        color: #cccccc;
        cursor: not-allowed;
    }

.page-info {
    font-weight: bold;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

    .nav-menu li {
        margin-right: 20px;
    }

.nav-link {
    text-decoration: none;
    color: #000;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

    .nav-link:hover {
        background-color: #f0f0f0;
    }

.navbar-dark .navbar-nav .nav-link {
    padding: 4px 9px 4px 9px;
}

.active-link {
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

.client-view-panel {
    position: relative;
}

.back-button {
    background-color: lightblue;
}

    .back-button i {
        margin-right: 5px; /* Space between icon and text */
    }

    .back-button:hover {
        color: #0056b3; /* Optional hover color */
    }

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1M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cuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.hover-highlight {
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Smooth transition for hover effects */
}

    .hover-highlight:hover {
        background-color: rgba(0, 0, 0, 0.1) !important; /* Light gray highlight */
        border-color: #007bff; /* Highlight border color */
        cursor: pointer; /* Change cursor to pointer */
    }

/* Ensure hover-details is hidden by default */
.event-container .hover-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    display: none; /* Hidden by default */
    z-index: 10;
    overflow: auto; /* Ensure scrollability for smaller event slots */
}

/* Show hover-details only within the hovered event-container */
.event-container:hover .hover-details {
    display: block; /* Make visible on hover */
}

/* Existing styles (keep these) */
.my-schedule {
}

.main-schedule {
}

.custom-grid-unset-min {
    width: -webkit-fill-available !important;
    min-width: unset !important;
}

.custom-grid {
    border: 1px solid black;
    border-collapse: collapse;
    margin: 2px;
    flex-grow: 1;
    min-width: 0; /* Allow shrinking below 1500px */
    --col-gap: 0rem;
    width: 100%; /* Fill available space */
    overflow-x: auto; /* Add scrollbar if too narrow */
}


    .custom-grid th, .custom-grid td {
        border: 1px solid black;
        padding: 3px !important;
        text-align: center;
        min-width: 20px; /* Default min-width */
        white-space: normal; /* Enable wrapping */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .custom-grid tr:nth-child(even) {
        background-color: lightblue;
    }

    .custom-grid tr:nth-child(odd) {
        background-color: white;
    }

    .custom-grid .quickgrid-column {
        flex: 1 1 auto; /* Allow growth/shrink */
        min-width: 10px;
    }
    .custom-grid .quickgrid-column-index {
        min-width: 20px;
        max-width: 40px;
    }
@media (max-width: 1000px) {
    .custom-grid .quickgrid-column {
        min-width: 10px;
    }
}

/* Allow wrapping and overflow control */
.custom-grid td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden; /* Prevent overflow */
    text-overflow: ellipsis; /* Truncate with ... if too long */
}

.inactive-row {
    background-color: #f8d7da; /* Light red background for inactive rows */
    color: #721c24; /* Dark red text for contrast */
}

.container {
    overflow-y: scroll;
}

@media (min-width: 900px) {
    .container {
        float: left;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .container {
        max-width: 100%;
    }
}

.mud-container--gutters {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
/* Form container with border and padding */
.form-container {
    border: 1px solid #ccc;
    /*    max-width: 900px;
    padding: 20px;*/
    background-color: #f9f9f9; /* Light background for better visibility */
}

.form-header {
    border: 1px solid #ccc;
    background-color: lightgrey;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
}

.billing-schedule-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Align labels and inputs */
.form-group {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

    .form-group label {
        width: 150px;
        margin-right: 10px;
        text-align: right;
    }

    /* Make inputs fill the remaining space */
    .form-group .form-control {
        flex: 1;
    }

/* Larger input fields for specified controls */
.large-input {
    width: 100%;
}

.medium-input {
    width: 70%;
}

/* Style the submit button */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

    .form-actions .btn {
        width: 100px;
        margin: 2px;
    }

/* Optional: Add focus styles to inputs */
.form-control:focus {
    border-color: #258cfb;
    box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
}


.helper-icon-container {
    display: inline-block;
    position: relative;
    padding: 5px; /* Increase the padding around the icon to expand the hoverable area */
    cursor: pointer; /* Ensure the cursor is always a pointer over the icon */
    border-radius: 4px; /* Optional: round the hover area */
}

    .helper-icon-container:hover {
        background-color: rgba(0, 0, 0, 0.1); /* Optional: highlight hover area */
    }

.tooltip-modal {
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    top: 100%; /* Adjust the position relative to the icon */
    max-width: 300px;
    cursor: default; /* Ensure the cursor remains a pointer when hovering over the modal */
}

.form-group {
    position: relative;
    cursor: default; /* Ensure the default cursor when not interacting with the icon */
}


.changelog-section {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    background-color: #f9f9f9;
}

.changelog-header {
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #f1f1f1;
    border-radius: 5px;
    transition: background-color 0.3s;
}

    .changelog-header:hover {
        background-color: #e2e2e2;
    }

.changelog-content {
    padding: 0.5rem;
    list-style-type: none;
    margin-top: 0.5rem;
}

.changelog-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

    .changelog-icon.collapsed {
        transform: rotate(90deg);
    }


.neon-flash {
    color: #33FF33;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    text-shadow: 0 0 10px #33FF33, 0 0 15px #33FF33;
    animation: neonPulse 1.8s infinite ease-in-out;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px #33FF33, 0 0 15px #33FF33, 0 0 20px #33FF33;
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 5px #33FF33, 0 0 10px #33FF33, 0 0 15px #33FF33;
    }
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .tooltip-wrapper .tooltip-text {
        visibility: hidden;
        width: 200px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1000;
        bottom: 125%;
        left: 50%;
        margin-left: -100px;
        opacity: 0;
        transition: opacity 0.3s;
        white-space: normal;
    }

    .tooltip-wrapper:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

.quickgrid-column {
    position: relative;
    overflow: visible !important;
}