:root {
    --header-height: 80px;
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
}

body {
    background-color: #f8f9fa;
    font-family: 'Saira', sans-serif !important;
    overflow-x: hidden
}

a {
  text-decoration: none;
  color: black;
}

h1 {
    color: #007bff;
}

#header {
    height: var(--header-height);
}

.hover-effect:hover {
  background-color: #13D8CB !important; /* Change to any color */
  transition: background-color 0.5s ease;
  cursor: pointer;
  color: white !important;
}

/* sidebar */
.sidebar {
    margin-top: var(--header-height);
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(135deg, #1a1c2e 0%, #16181f 100%);
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #a0a3bd;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-top: var(--header-height);
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
    /* Make main-content flexible to take up remaining space */
    flex-grow: 1;  /* This will make it expand to fill the available space */
}

.collapsed~.main-content {
    margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
    position: absolute;
    right: -15px;
    top: 20px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    /* text-align: center; */
    padding: 1rem !important;
    margin: 4px 8px;
}

.collapsed .sidebar-link i {
    margin: 0 !important;
}

.profile-info {
    transition: opacity 0.2s ease;
}

/* responsiveness */
// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {
}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

/* cards */
.disabled-card {
    pointer-events: none;
    opacity: 0.6;
    cursor: default;
}
