/* File: /css/dashboard.css */

/* --- Color Palette Variables --- */
:root {
  --ucf-green-light: #EBF4F6; /* Lightest Green/Blue */
  --ucf-green: #A2B59F;       /* Medium Green */
  --ucf-green-dark: #5E7153;  /* Darkest Green */
  --ucf-charcoal: #2E3A45;     /* Charcoal Blue */
  --ucf-white: #FFFFFF;
  --ucf-gray: #F3F4F6;
  --ucf-text-dark: #1F2937;
  --ucf-text-light: #6B7280;
}

/* --- Base Styles --- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: margin-left 0.3s ease-in-out;
}

/* --- Sidebar --- */
.sidebar {
  width: 260px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: var(--ucf-charcoal);
  color: var(--ucf-white);
  transition: width 0.3s ease-in-out;
  overflow-x: hidden;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.sidebar-header a {
  color: var(--ucf-white);
  text-decoration: none;
}
.sidebar-logo-icon {
    display: none;
}


.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  flex-grow: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: var(--ucf-white);
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-left: 4px solid transparent;
}

.sidebar-nav a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-left-color: var(--ucf-green);
}

.sidebar-nav a.active {
  background-color: rgba(162, 181, 159, 0.2); /* --ucf-green with opacity */
  border-left-color: var(--ucf-green);
  font-weight: 600;
}

.sidebar-nav a i {
  margin-right: 15px;
  font-size: 1.1rem;
  width: 25px;
  text-align: center;
  transition: transform 0.2s ease;
}

.sidebar-nav a:hover i {
    transform: scale(1.1);
}

/* --- Main Content --- */
.main-content {
  margin-left: 260px;
  width: calc(100% - 260px);
  transition: all 0.3s ease-in-out;
}

.top-nav {
  background-color: var(--ucf-white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-nav #menu-toggle {
  font-size: 1.5rem;
  color: var(--ucf-text-dark);
}

.content-area {
  padding: 2rem;
}

/* --- MINIMIZED SIDEBAR STYLES --- */
body.sidebar-mini .sidebar {
  width: 80px;
}
body.sidebar-mini .sidebar-header {
    padding: 20px 10px;
}
body.sidebar-mini .sidebar-logo-full {
    display: none;
}
body.sidebar-mini .sidebar-logo-icon {
    display: inline;
}
body.sidebar-mini .sidebar-nav a span {
  display: none;
}
body.sidebar-mini .sidebar-nav a {
  justify-content: center;
  padding: 15px 10px;
}
body.sidebar-mini .sidebar-nav a i {
  margin-right: 0;
}

body.sidebar-mini .main-content {
  margin-left: 80px;
  width: calc(100% - 80px);
}
