html {
    font-size: 14px;
}

/** {
    outline: 1px solid red;*/ /* Helps see boundaries */
/*}*/

.my-container {
    max-width: 90% !important;
}

@media (min-width: 768px) {
    .responsive-logo {
        width: 100%;
    }
}

/* Mobile view: fixed 80px width */
@media (max-width: 767.98px) {
    .responsive-logo {
        width: 80px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    max-width: 100%;
    overflow-x: hidden;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #6f42c1 0%, #0d6efd 100%);*/    
    background: url('../images/bg-login.jpg') no-repeat center center;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* adjust opacity as needed */
    z-index: -1;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: #fff;
    border-radius: 1rem;
}

.card-body h2 {
    font-weight: 600;
}

.fc-header-toolbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.5rem;
}

.fc-toolbar-chunk {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .fc-header-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .fc-toolbar-chunk:nth-child(1) {
        justify-content: space-between;
        width: 100%;
    }

    .fc-toolbar-chunk:nth-child(2) {
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .fc-toolbar-chunk:nth-child(3) {
        justify-content: right;
        width: 100%;
        margin-top: 0.5rem;
    }

    .fc-toolbar-title {
        font-size: 1rem;
    }
}


.fc-event.unapproved-event {
    opacity: 0.8;
}

/*.fc-v-event.unapproved-event {
    opacity: 0.7;
}*/

.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number {
    color: inherit !important;
    text-decoration: none !important;
}

.fc .fc-event-time,
.fc .fc-event-title {
    color: #373a43 !important;
    text-decoration: none !important;
    font-family: Muli,sans-serif !important;
    font-size: small;
}

.fc-v-event .fc-event-time,
.fc-v-event .fc-event-title {
    color: #fff !important;
}

.fc-event.old-event > .fc-event-time,
.fc-event.old-event > .fc-event-title {
    color: darkgrey !important;
    text-decoration: none !important;
    font-family: Muli,sans-serif !important;
    font-size: small;
}

.fc-event.approved-event > .fc-event-time,
.fc-event.approved-event > .fc-event-title {
    color: darkgreen !important;
    text-decoration: none !important;
    font-family: Muli,sans-serif !important;
    font-size: small;
}

.navbar {
    background: linear-gradient( 108deg, #542d9b 0%, #154791 100%)
}

.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: white;
}

.logo-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotated-logo {
    height: 90%; /* Fill full container height */
    width: auto; /* Maintain aspect ratio */
    max-height: 100%; /* Prevent overflow */
    object-fit: contain;
}
.legend-item {
    /*    margin: 5px 10px;
*/ white-space: normal; /* allow wrapping */
    /*    display: flex;
    align-items: center;*/
    justify-content: center;
    font-size: smaller;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    margin-right: 6px;
}

.fc-disabled-date {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    pointer-events: none; /* prevents click */
    opacity: 0.6;
}
