:root {
  --primary-color: #4F46E5;
  --primary-light: #818CF8;
  --secondary-color: #6366F1;
  --background-light: #F3F4F6;
  --background-dark: #1F2937;
  --text-dark: #111827;
  --text-light: #F9FAFB;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  --sidebar-width: 280px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-light);
  color: var(--text-dark);
  margin: 0;
  overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.glass-dark {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(31, 41, 55, 0.4);
  color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Login Page Styling */
.login-body {
  background: linear-gradient(135deg, #4F46E5 0%, #EC4899 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Dashboard Layout Structure */
.dashboard-container {
  display: flex;
  height: 100vh;
}

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background-color: white;
  border-right: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-header h3 {
  margin: 0;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-nav {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  margin-bottom: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--primary-color);
}

.nav-link i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Main Content Area */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem;
  height: 100vh;
  overflow-y: auto;
  background-color: #F8FAFC;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.greeting-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.greeting-text p {
  color: #6B7280;
  margin: 0;
  font-size: 0.875rem;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: #6B7280;
  font-size: 0.875rem;
  flex-grow: 1;
}

/* Card Icons Variants */
.icon-primary { background: #EEF2FF; color: var(--primary-color); }
.icon-success { background: #ECFDF5; color: var(--success); }
.icon-warning { background: #FFFBEB; color: var(--warning); }
.icon-danger { background: #FEF2F2; color: var(--danger); }
.icon-info { background: #EFF6FF; color: var(--info); }

/* Status Badges */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-yes { background: #D1FAE5; color: #065F46; }
.status-no { background: #FEE2E2; color: #991B1B; }  
.status-view { background: #DBEAFE; color: #1E40AF; }

/* Table Styling */
.table-custom {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.table-custom th {
  background-color: #F8FAFC;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 1rem;
}

.table-custom td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #F1F5F9;
}

/* Specific highlight sections */
.admin-card { border-left: 4px solid var(--danger); }
.shortcuts-card { border-left: 4px solid var(--success); }

/* Quick Action Button */
.btn-action {
  width: 100%;
  margin-top: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.5rem;
}
