:root {
    --nav-color: #012970;
    --light-primary: #4d7ccc;
    --color-assigned: #20c997;
    --color-today: #fd7e14;
}

.loginpagebg {
    position: relative;
    background-image: url(/img/loginbg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logincardbg {
    background-color: rgba(255, 255, 255, 0.575);
    color: dark;
}

.banner {
    height: 30vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.login-box {
    background-color: #2c3e75;
    border-radius: 15px;
    padding: 2rem;
    color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.form-control,
.form-select {
    border-radius: 10px;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.input-group-text {
    background: transparent;
    border: none;
}

.input-icon-group {
    position: relative;
}

.input-icon-group input,
.input-icon-group select {
    padding-left: 40px;
}

.logo {
    width: 50px;
    height: 50px;
}

.img-schedule {
    max-width: 100%;
    height: auto;
}

.btn-white:hover {
    background-color: #e0e0e0;
}

.tagline {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.top-left-wrapper {
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.top-left-logo {
    width: 50px;
    height: auto;
}

.top-left-text {
    font-size: 18px;
    color: #000;
}

.form-container {
    position: relative;
}

.form-floating-logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
    z-index: 10;
}

.box {
    border: 1px solid #ccc;
    padding: 1rem;
    min-height: 100px;
    background-color: #f8f9fa;
}

.highlight-box {
    border: 2px solid #007bff;
}

.fc-toolbar-title {
    display: none !important;
}
.dashboard-card {
    border-radius: 1rem;
    min-height: 180px;
    transition: box-shadow 0.2s;
    background: #fff;
    z-index: 1;
}

.dashboard-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 2;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, #4158d0 0%, #c850c0 100%);
}
.bg-gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}

.dashboard-card-bg {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.fc-timegrid-col.fc-day-today {
    background-color: transparent !important;
}

.hover-shadow:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    border-color: #222 !important;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.day-selected-indicator {
    font-size: 0.8em;
    background: #222 !important;
    color: #fff !important;
}

.nav-pills .nav-link.active {
    background-color: #afafaf;
    color: #fff;
}
.nav-pills .nav-link {
    text-align: left;
    font-weight: 500;
}

.section-calendar,
.section-calendar-instructor {
    overflow-x: auto;
}

.section-calendar-instructor .fc-scrollgrid {
    min-width: 1500px; /* force width so scroll appears */
}

table.dataTable {
    width: 100% !important;
}

#sideCards .card-body {
    overflow-y: auto;
}

.fc-event-content-centered {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.available-slot {
    display: flex !important; /* enable flexbox */
    align-items: center !important; /* vertical center */
    justify-content: center !important; /* horizontal center */
}
.available-slot .fc-event-title {
    margin: 0; /* remove default margins */
    padding: 0;
    text-align: center;
}

/* Base style for sidebar nav links */
.sidebar .nav-link {
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-radius: 6px;
    padding: 8px 12px;
}

/* Hover effect */
.sidebar .nav-link:hover {
    background-color: #000000; /* Bootstrap's bg-light */
    color: var(--bs-primary) !important; /* Bootstrap primary color */
}

.sidebar .nav-link:hover i,
.sidebar .nav-link:hover span {
    color: var(--bs-primary) !important; /* Icon + text color */
}
