@import url('themes.css');
@import url('variables.css');
@import url('calendar.css');

body {
    font-family: 'Inter', sans-serif;
    font-size: var(--base-font);
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease !important;
    color: var(--text-main) !important;
    background: linear-gradient(to bottom, #D5DEE7 0%, #E8EBF2 50%, #E2E7ED 100%), linear-gradient(to bottom, rgba(0,0,0,0.02) 50%, rgba(255,255,255,0.02) 61%, rgba(0,0,0,0.02) 73%), linear-gradient(33deg, rgba(255,255,255,0.20) 0%, rgba(0,0,0,0.20) 100%) !important;
    background-blend-mode: normal,color-burn !important;
}

.card, 
.modal-content, 
.nav-link, 
.navbar,
.form-control,
button,
span,
i,
.input-group,
select,
table {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease !important;
}

 /* main {
  background: linear-gradient(to bottom, #D5DEE7 0%, #E8EBF2 50%, #E2E7ED 100%), linear-gradient(to bottom, rgba(0,0,0,0.02) 50%, rgba(255,255,255,0.02) 61%, rgba(0,0,0,0.02) 73%), linear-gradient(33deg, rgba(255,255,255,0.20) 0%, rgba(0,0,0,0.20) 100%);
 background-blend-mode: normal,color-burn;
}  */

/* Force a strict height on the header */
.navbar {
    height: 60px; 
    padding: 0 1rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;

}

/* Keep the brand (title) centered vertically */
.navbar-brand {
    height: 60px;
    line-height: 60px; /* Matches height to keep text centered */
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    flex-shrink: 0;
    font-size: 18px;
}

.nav-tabs .nav-item a.nav-link {
    background: none;
    border-color: inherit;
    border-top: none;
    border-right: none;
    border-left: none;
    text-decoration: none;
    border-radius: 0;
}

.nav-link {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.nav-link.active {
    background-color: rgba(13, 110, 253, 0.05); /* Very light blue background */
    border-left: 3px solid #0d6efd; /* Blue stripe on the left */
    color: #0d6efd !important;
    font-weight: 600;
}

/* Fix the right-side container */
.navbar-nav-right {
    display: flex;
    align-items: center;
    height: 60px;
    margin-left: auto; /* Pushes to the far right */
    padding-right: 1rem;
}

/* Ensure dropdown menu doesn't move the header */
.navbar .dropdown-menu {
    position: absolute !important;
    top: 100%; /* Forces it to appear exactly below the bar */
    margin-top: 0;
}

.sidebar {
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

#sidebar-menu .nav-link {
    color: var(--text-main) !important;
}

/* Sidebar adjustment to match the 60px header */
#sidebarMenu {
    top: 60px;
    height: calc(100vh - 60px);
}

@media (max-width: 575.98px) {
    .navbar-brand {
        display: none;
    }

    .sidebar {
        transition: transform 0.3s ease-in-out;
    }
}

