.custom-icon {
    font-size: 3rem !important; /* Force Bigger Icon */
}

.mode-button {
    border: 1px solid var(--mud-palette-table-lines) !important;
    height: 90px !important;
}

.oval {
    width: 25px !important;
    height: 15px !important;
    border-radius: 50% !important;
    transform: rotate(120deg) !important;
}

.oval-selected {
    transform: rotate(0deg) !important;
}

.color-button {
    height: 50px !important;
    border: 1px solid var(--mud-palette-table-lines) !important;
}

.color-button-selected {
    border: 2px solid var(--mud-palette-primary) !important;
}

.mud-nav-link {
    white-space: normal !important;
    padding: 12px 16px 12px 38px !important;
}

    .mud-nav-link.active:not(.mud-nav-link-disabled) {
        border-right: 3px solid var(--mud-palette-primary) !important;
        background-color: rgba(var(--mud-palette-primary-rgb), 0.1) !important;
    }

.side-menu {
    border-right: 1px solid var(--mud-palette-table-lines) !important;
}

.user-button {
    text-transform: none !important;
    background: rgba(var(--mud-palette-primary-rgb), 0.1) !important;
}

.side-menu .mud-chip.mud-chip-size-small {
    font-size: 10px !important;
    height: 18px !important;
}

.notification-badge {
    margin-left: -10px !important;
    margin-bottom: -8px !important;
}

.custom-header,
.custom-header-cell {
    background-color: rgba(145, 158, 171, 0.16) !important;
    color: rgb(145, 158, 171) !important;
}

.custom-header-cell-first,
.custom-header-cell-last {
    border-radius: var(--mud-default-borderradius) !important;
}

.mud-table-cell {
    border: none !important;
}

.bold-chip {
    font-weight: bold !important;
    font-size: 1.2rem !important;
}

.article-carousel {
    height: 100% !important;
    border-radius: var(--mud-default-borderradius) !important;
}

#articleCarousel .mud-icon-button {
    padding: 0 !important;
}

#articleCarousel .selected {
    color: var(--mud-palette-primary) !important;
}

#articleCarousel .non-selected {
    color: rgba(var(--mud-palette-primary-rgb), 0.5) !important;
}

#articleCarousel .mud-carousel-transition-slide-next-enter,
#articleCarousel .mud-carousel-transition-slide-next-exit {
    animation-duration: 0s !important;
}

.light-bold {
    font-weight: 500 !important;
}

.strong-bold {
    font-weight: 700 !important;
}

.mud-avatar-square {
    border-radius: var(--mud-default-borderradius) !important;
}

.theme-button {
    position: fixed;
    top: 50%;
    background: var(--mud-palette-white);
    z-index: 1150;
    right: 0;
    cursor: pointer;
    box-shadow: rgba(55,55,55,0.15) 0 0 2px 0, rgba(55,55,55,0.15) 0 8px 12px 0;
}

.footer-buttons {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 700px !important;
    background: var(--mud-palette-background) !important; /* Use a distinct background */
    padding: 15px 20px !important;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
}

.map-container {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    width: 100% !important;
}
.custom-container {
    padding: 20px !important;
    max-width: 100% !important; /* Removes the 1280px limit */
    width: 100%; /* Ensures full width */
}
#map {
    flex: 1 !important;
    width: 100% !important;
}

.pulse-effect {
    animation: pulse-glow 2s infinite;
}
 
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-primary-rgb), 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(var(--mud-palette-primary-rgb), 0);
    }
}

.long-text-cell {
    max-width: 350px;
    white-space: normal;
    overflow-wrap: anywhere;
    display: inline-block;
}
 

/* Header background + text color */
.mud-table-root thead.mud-table-head {
    background-color: rgba(145, 158, 171, 0.16) !important;
}

    /* Each header cell */
    .mud-table-root thead.mud-table-head th.mud-table-cell {
        background-color: rgba(145, 158, 171, 0.16) !important;
        color: rgb(145, 158, 171) !important;
        font-weight: normal;
        border: none !important;
    }

        /* Rounded corners for first and last header cells */
        .mud-table-root thead.mud-table-head th.mud-table-cell:first-child {
            border-top-left-radius: var(--mud-default-borderradius) !important;
            border-bottom-left-radius: var(--mud-default-borderradius) !important;
        }

        .mud-table-root thead.mud-table-head th.mud-table-cell:last-child {
            border-top-right-radius: var(--mud-default-borderradius) !important;
            border-bottom-right-radius: var(--mud-default-borderradius) !important;
        }

/* Optional: remove border from all table cells (including body) */
.mud-table-cell {
    border: none !important;
}

/* Split screen login/registration/2fa styles */
.split-container {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    background: #f5f6fa;
}
.split-left {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.split-image {
    max-width: 80%;
    opacity: 0.7;
}
.split-right {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    width: 100%;
    max-width: 400px;
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* MudBlazor button and input overrides for beautiful forms */
.mud-button {
    font-size: 1.1rem;
    border-radius: 8px;
    padding: 12px 0;
    font-weight: 600;
}
.mud-button.mud-button-filled {
    background: linear-gradient(90deg, #f857a6 0%, #ff5858 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(248,87,166,0.15);
}
.mud-button.mud-button-outlined {
    border: 2px solid #f857a6;
    color: #f857a6;
    background: #fff;
}
.mud-textfield {
    border-radius: 8px;
}
.mud-checkbox .mud-checkbox-label {
    font-weight: 500;
}
.mud-link {
    color: #f857a6;
    font-weight: 500;
    text-decoration: underline;
}
.mud-link:hover {
    color: #ff5858;
}
.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.h-custom {
    height: calc(100% - 73px);
}

@media (max-width: 450px) {
    .h-custom {
        height: 100%;
    }
}