/* ==========================================
   CSS VARIABLES (Design Tokens)
   ========================================== */
:root {
  /* Color palette - Sunset Glow Theme */
  --primary-color: #e06c2e;      /* Warm orange */
  --primary-dark: #c55a1f;       /* Deeper orange */
  --primary-light: #f0894b;      /* Lighter orange */
  --secondary-color: #9b2e1f;    /* Rust red */
  --success-color: #2a9d6e;      /* Deep teal green */
  --error-color: #e65c4f;        /* Coral red */
  --warning: #f4b942;            /* Golden yellow */
  --info: #3b9ac6;               /* Ocean blue */
  
  /* Extended color system */
  --bg: #fff9f0;                 /* Warm cream background */
  --surface: #ffffff;            /* White surfaces */
  --muted: #9b7b5c;              /* Warm taupe */
  --text: #3a2c1f;               /* Dark brown text */
  --text-color: #3a2c1f;         /* Dark brown text */
  --light-gray: rgba(230, 200, 170, 0.1); /* Warm light gray */
  --medium-gray: #f0e6d8;        /* Warm beige */
  --dark-gray: #9b7b5c;          /* Warm taupe */

  /* Semantic colors */
  --border-color: rgba(224, 108, 46, 0.12);
  --border-light: rgba(255, 200, 150, 0.15);
  --hover-overlay: rgba(224, 108, 46, 0.04);
  --focus-ring: rgba(224, 108, 46, 0.2);

  /* Spacing & sizing */
  --gap-xs: 0.4rem;
  --gap-sm: 0.8rem;
  --gap: 1.2rem;
  --gap-lg: 1.6rem;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
  --card-padding: 1.25rem;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --base-size: 13px;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --line-height: 1.5;

  /* Elevation - softer shadows */
  --shadow-sm: 0 4px 12px rgba(58, 44, 31, 0.05);
  --shadow-md: 0 8px 24px rgba(58, 44, 31, 0.08);
  --shadow-lg: 0 16px 32px rgba(58, 44, 31, 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index layers */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 5040;
  --z-popover: 5050;
  --z-tooltip: 5060;
  --z-toast: 5070;
}

/* Theme override for new color scheme */
:root {
  /* Soft Sunset Colors for Bootstrap compatibility */
  --bs-primary: #e06c2e;
  --bs-primary-rgb: 224, 108, 46;
  
  --bs-secondary: #b98f6e;
  --bs-secondary-rgb: 185, 143, 110;
  
  --bs-success: #2a9d6e;
  --bs-success-rgb: 42, 157, 110;
  
  --bs-danger: #e65c4f;
  --bs-danger-rgb: 230, 92, 79;
  
  --bs-warning: #f4b942;
  --bs-warning-rgb: 244, 185, 66;
  
  --bs-info: #3b9ac6;
  --bs-info-rgb: 59, 154, 198;
}

/** Text Sizes **/
.text-lg {
  font-size: var(--text-lg);
}


/* Button Base Styles - Refined */
.btn {
  border: none;
  border-radius: 40px;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

/* Primary - Warm Sunset */
.btn-primary {
  background: linear-gradient(105deg, #e06c2e 0%, #c55a1f 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(224, 108, 46, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(105deg, #c55a1f 0%, #b24d18 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 108, 46, 0.3);
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Success - Deep Teal */
.btn-success {
  background: linear-gradient(105deg, #2a9d6e 0%, #238b60 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(42, 157, 110, 0.25);
}

/* Danger - Coral */
.btn-danger {
  background: linear-gradient(105deg, #e65c4f 0%, #d64538 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(230, 92, 79, 0.25);
}

/* Add subtle animation on hover for all buttons */
.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

/* Outline Variants */
.btn-outline-primary {
  color: #e06c2e;
  border: 2px solid #e06c2e;
  background: transparent;
  border-radius: 40px;
}

.btn-outline-primary:hover {
  background: #e06c2e;
  color: white;
  transform: translateY(-2px);
}

/* Glassmorphism Buttons - Warm Tone */
.btn-glass {
  background: rgba(255, 245, 235, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 108, 46, 0.3);
  color: #e06c2e;
  font-weight: 600;
}

.btn-glass:hover {
  background: rgba(224, 108, 46, 0.85);
  border-color: rgba(224, 108, 46, 0.5);
  color: white;
}

.alert-info {
  background-color: rgba(59, 154, 198, 0.08) !important;
  border: 1px solid rgba(59, 154, 198, 0.4) !important;
  border-radius: var(--radius-lg) !important;
}

.btn-flash {
    position: relative;
    overflow: hidden;
}

.btn-flash::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 220, 180, 0.5),
        transparent
    );
    animation: flash 2s infinite;
}

@keyframes flash {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}


.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 245, 235, 0.5),
        rgba(255, 225, 200, 0.6),
        rgba(255, 245, 235, 0.5),
        transparent
    );
    transform: rotate(25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -60%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* ==========================================
   BASE STYLES & RESETS
   ========================================== */
* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
  font-family: var(--font-sans);
}

html, body { 
  height: 100%; 
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keep selection disabled globally but allow in content */
html, body { 
  user-select: none;
  overflow-x: auto;
  overflow-y: auto; 
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-color);
  font-size: var(--base-size);
  font-weight: 400;
  line-height: var(--line-height);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Allow selection where it's expected */
.content, 
.card, 
input, 
textarea, 
select { 
  user-select: text; 
}

/* Accessible focus for interactive elements - warm tone */
button:focus:not(.btn),
input:focus:not(.form-control),
select:focus:not(.form-select),
textarea:focus:not(.form-control) {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ==========================================
   LAYOUT & CONTAINERS - Improved Spacing
   ========================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gap-lg);
}

.content {
  margin-left: 0;
  padding: 2rem;
  transition: var(--transition-slow) ease;
  font-size: var(--text-sm);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  min-height: calc(100vh - 60px);
}

/* ==========================================
   AUTHENTICATION COMPONENTS - Refreshed
   ========================================== */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(125deg, #fff5e8 0%, #ffe6d5 100%);
}

.auth-wrapper {
  display: flex;
  max-width: 1000px;
  width: 100%;
  background: var(--surface);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}

.auth-left {
  flex: 1;
  background: linear-gradient(145deg, #e06c2e, #b85a28);
  color: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.auth-left h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}

.auth-left p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.auth-right {
  flex: 1;
  padding: 48px 44px;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.auth-logo img {
  max-width: 70px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
}

.auth-title {
  text-align: center;
  margin-bottom: 32px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
}

.auth-form-group {
  margin-bottom: 24px;
}

.auth-form-row {
  display: flex;
  gap: 20px;
}

.auth-form-row .auth-form-group {
  flex: 1;
}

.auth-label {
  display: block;
  margin-left: 12px;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.auth-input, 
.auth-select {
  width: 100%;
  padding: 14px 18px;
  background: #fefaf5;
  border: 1.5px solid #f0e2d2;
  border-radius: 24px;
  font-size: 14px;
  transition: all var(--transition-base);
}

.auth-input:focus, 
.auth-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(224, 108, 46, 0.1);
}

.auth-password-container {
  position: relative;
}

.auth-toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-gray);
}

.auth-error-message {
  color: var(--error-color);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.auth-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(105deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 16px;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(224, 108, 46, 0.3);
}

.auth-submit-btn:disabled {
  background: var(--dark-gray);
  cursor: not-allowed;
  transform: none;
}

.auth-login-link {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
}

.auth-login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.auth-login-link a:hover {
  text-decoration: underline;
}

.auth-success-message {
  background-color: rgba(42, 157, 110, 0.1);
  color: var(--success-color);
  padding: 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-align: center;
  display: none;
}

/* ==========================================
   NAVIGATION COMPONENTS - Warm Gradient Sidebar
   ========================================== */
.sidebar {
  height: 100vh;
  width: 260px;
  position: fixed;
  top: 0;
  left: -260px;
  z-index: var(--z-fixed);
  overflow-y: auto;
  background: linear-gradient(165deg, #2d2418 0%, #1f1a12 100%);
  color: #f0e2d2;
  border-right: 1px solid rgba(240, 226, 210, 0.08);
  transition: left var(--transition-slow) ease, box-shadow var(--transition-slow);
  padding-bottom: 2rem;
}

.sidebar.show { 
  left: 0; 
}

.sidebar .logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.75rem;
  border-bottom: 1px solid rgba(240, 226, 210, 0.1);
  margin-bottom: 1rem;
}

.sidebar .logo img {
  height: 48px;
  max-width: 85%;
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
  /* filter: brightness(0) invert(1); */
}

.logo-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  background: transparent;
  z-index: 2;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0 12px;
}

.sidebar ul li {
  padding: 0.75rem 1rem;
  margin: 6px 0;
  font-size: 0.9rem;
  font-weight: 450;
  color: inherit;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  cursor: pointer;
  border-radius: 16px;
  transition: all var(--transition-base);
}

.sidebar ul li span {
  display: flex;
  align-items: center;
  gap: var(--gap);
}

.sidebar ul li i { 
  font-size: 1.2rem; 
  width: 28px;
}

.sidebar a:link, 
.sidebar a:visited {
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.sidebar ul li:hover {
  background: rgba(224, 108, 46, 0.25);
  transform: translateX(4px);
}

.sidebar ul li.active {
  background: rgba(224, 108, 46, 0.35);
  color: #ffdec2;
  border-left: 3px solid var(--primary-color);
}

.submenu {
  display: none;
  list-style: none;
  padding-left: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin-top: 6px;
}

.submenu li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  font-size: 0.8rem !important;
  color: rgba(240, 226, 210, 0.85);
}

.submenu li:hover { 
  color: #fff; 
  background: rgba(224, 108, 46, 0.2);
}

.rotate {
  transition: transform var(--transition-base);
  font-size: var(--text-base);
  margin-left: auto;
}

.rotate.down { 
  transform: rotate(90deg); 
}

.sidebar::-webkit-scrollbar { 
  width: 5px; 
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(224, 108, 46, 0.5);
  border-radius: 10px;
}

.topbar {
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid var(--border-color);
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.profile-pic {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.profile-pic:hover { 
  border-color: var(--primary-color); 
  transform: scale(1.02);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icons i {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  transition: color var(--transition-fast);
}

.nav-icons i:hover { 
  color: var(--primary-color); 
}

.sidebar-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  display: block;
}

.nav-icons .dropdown-toggle::after { 
  display: none !important; 
}

.dropdown-menu {
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  word-wrap: break-word;
  white-space: normal;
  border-radius: 24px;
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  font-size: var(--text-sm);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(4px);
}

.dropdown-item {
  white-space: normal;
  word-break: break-word;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  line-height: var(--line-height);
  padding: 0.6rem 1rem;
  transition: background var(--transition-fast);
}

.dropdown-item:hover { 
  background: var(--hover-overlay); 
}

.dropdown-item-text {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--muted);
  padding: 0.6rem 1rem;
}

.dropdown-divider { 
  margin: 0.5rem 0; 
}

.profile-dropdown .dropdown-menu { 
  width: 240px; 
}

.profile-dropdown .dropdown-item i {
  font-size: var(--text-base);
  color: var(--muted);
  width: 24px;
}

.profile-dropdown .dropdown-item:hover i { 
  color: var(--primary-color); 
}

/* ==========================================
   BUTTONS - Enhanced
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:active { 
  transform: translateY(1px); 
}

.btn:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(105deg, var(--primary-color), var(--primary-dark));
  border-color: transparent;
  color: #fff;
}

.btn-success {
  background: linear-gradient(105deg, var(--success-color), #1e7a55);
  border-color: transparent;
  color: #fff;
}

.btn-danger {
  background: linear-gradient(105deg, var(--error-color), #c53a2c);
  border-color: transparent;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(224, 108, 46, 0.3);
}

.btn-outline:hover { 
  background: var(--hover-overlay);
  border-color: var(--primary-color);
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
}

.btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  border-radius: 30px;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

.btn-block { 
  display: flex; 
  width: 100%; 
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border: none;
  border-radius: 40px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(224, 108, 46, 0.25);
  color: #fff;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(224, 108, 46, 0.35);
  color: #fff;
}

.action-btn {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 30px;
}

/* ==========================================
   CARDS - Elevated & Soft
   ========================================== */
.card {
  background: var(--surface);
  padding: var(--card-padding);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  height: auto !important;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(224, 108, 46, 0.05);
}

/* Ensure card content determines height */
.card > * {
    flex-shrink: 1;
    min-height: 0;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.dashboard {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dash-card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 108, 46, 0.08);
}

.dash-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.dash-card .card-body {
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.dash-card h6 {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.dash-card h5 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

.dash-card p {
  font-size: 0.7rem;
  color: #9b7b5c;
  margin-top: 0.2rem;
}

.card-progress {
  background: #f0e6d8;
  height: 5px;
  border-radius: 5px;
  overflow: hidden;
  margin: 0 1rem 1rem;
}

.card-progress span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

.search-card {
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: none;
  overflow: hidden;
  transition: all var(--transition-base);
  background: linear-gradient(125deg, #fffcf5 0%, #fff7ef 100%);
}

.search-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(58, 44, 31, 0.12);
}

.card-header-custom {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: white;
  padding: 1.5rem;
  border-bottom: none;
}

.card-header-custom h3 {
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.card-header-custom h3 i { 
  font-size: 1.6rem; 
}

.profile-card {
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  border: none;
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.profile-card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.profile-card .card-body {
  padding: 1.5rem;
}

/* ==========================================
   FORM ELEMENTS (General) - Rounded & Warm
   ========================================== */
.input-base,
.input-filled,
.input-underline,
.custom-textarea,
.custom-select,
input[type="date"],
.form-control[type="file"] {
  border-radius: 28px;
  border: 1.5px solid #f0e2d2;
  padding: 0.75rem 1.25rem;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
  background: #fefaf5;
}

.input-base:focus,
.input-filled:focus,
.custom-select:focus,
.custom-textarea:focus,
input[type="date"]:focus,
.form-control[type="file"]:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(224, 108, 46, 0.1);
  background-color: #fff;
}

.input-filled { 
  background-color: #fef7ef; 
}

.input-underline {
  border: none;
  border-bottom: 2px solid #f0e2d2;
  border-radius: 0;
  background: transparent;
  transition: var(--transition-base);
  padding-left: 0;
}

.input-underline:focus {
  border-bottom-color: var(--primary-light);
  box-shadow: none;
}

.input-rounded {
  border-radius: 40px;
  border: 1.5px solid #f0e2d2;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-base);
}

.input-rounded:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(224, 108, 46, 0.1);
}

textarea.custom-textarea {
  min-height: 100px;
  resize: vertical;
  border-radius: 24px;
}

select.custom-select {
  background-color: #fefaf5;
  cursor: pointer;
}

.form-check-input[type="radio"]:checked {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.form-check-input[type="checkbox"]:checked {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.form-check.form-switch .form-check-input {
  width: 2.8em;
  height: 1.4em;
  border: 1px solid #f0e2d2;
}

.form-check.form-switch .form-check-input:checked {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.form-range::-webkit-slider-thumb {
  background: var(--primary-light);
  border: none;
}

.form-range::-moz-range-thumb {
  background: var(--primary-light);
  border: none;
}

.form-control[type="file"] {
  border: 1.5px dashed #dccfbf;
  padding: 0.75rem;
  border-radius: 28px;
  background: #fefaf5;
  transition: var(--transition-base);
}

.form-control[type="file"]:hover {
  border-color: var(--primary-light);
  background: #fff6ed;
}

input[type="color"] {
  border: 2px solid #f0e2d2;
  border-radius: 20px;
  width: 60px;
  height: 42px;
  cursor: pointer;
  transition: border-color var(--transition-base);
}

input[type="color"]:focus { 
  border-color: var(--primary-light); 
}

.form-control-custom {
  border-radius: 28px;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid #f0e2d2;
  transition: all var(--transition-base);
  font-size: var(--text-base);
  background: #fefaf5;
}

.form-control-custom:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(224, 108, 46, 0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  z-index: 5;
}

.input-group { position: relative; }

.input-group .form-control { padding-left: 48px; }

/* ==========================================
   FORM SECTIONS & ENHANCEMENTS - Fresh
   ========================================== */
.form-section {
  background: #fefaf5;
  border-radius: 28px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-color);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0e2d2;
}

.section-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.3rem;
}

.section-title {
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.section-description {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-label {
  font-weight: 500;
  color: #5a4a36;
  margin-bottom: 0.5rem;
}

.input-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
  display: block;
}

.input-hint i {
  color: var(--primary-color);
  margin-right: 0.25rem;
}

.required-field::after {
  content: " *";
  color: var(--error-color);
}

.character-count {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.25rem;
}

.input-group-hint {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background: #f0e6d8;
  border: 1px solid #dccfbf;
  color: #5a4a36;
  font-size: 0.875rem;
}

.preview-card {
  background: linear-gradient(135deg, #e06c2e 0%, #b85a28 100%);
  color: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.preview-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.preview-content {
  font-size: 0.9rem;
  opacity: 0.9;
}

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fefaf5;
  border-radius: 60px;
}

.step {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0e6d8;
  color: #9b7b5c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.step.active .step-number {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: white;
}

.step.completed .step-number {
  background: var(--success-color);
  color: white;
}

.step-text {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.step.active .step-text {
  color: var(--primary-dark);
  font-weight: 600;
}

.step.completed .step-text {
  color: var(--success-color);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #f0e6d8;
  margin: 0 1rem;
}

.step.completed .step-connector {
  background: var(--success-color);
}

.feature-highlight {
  background: linear-gradient(135deg, #f7b77c 0%, #e68a4a 100%);
  color: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ==========================================
   TABLES - Refined
   ========================================== */
table {
  color: var(--text);
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

table th,
table td {
  padding: 0.9rem 0.75rem;
  text-align: left;
  border-top: 1px solid var(--border-color);
}

table th {
  border-top: none;
  font-weight: 600;
  background: #fefaf5;
  color: var(--primary-dark);
}

.upload-table input[type="number"] {
  width: 80px;
  padding: 0.4rem;
  text-align: center;
  border-radius: 20px;
  border: 1px solid #f0e2d2;
  font-size: var(--text-sm);
}

.upload-table tr:nth-child(even) input { 
  border-color: var(--primary-light); 
}

.upload-table tr:nth-child(odd) input { 
  border-color: #2a9d6e; 
}

.upload-table .upload-btn {
  text-align: right;
  margin-top: 1rem;
}

.table-plain {
  background-color: #fff;
  color: #3a2c1f;
}

.table-plain th,
.table-plain td { 
  border: 1px solid #f0e2d2; 
}

.table-striped-custom th,
.table-striped-custom td { 
  border: 1px solid #f0e2d2; 
}

.table-striped-custom tbody tr:nth-child(odd) { 
  background-color: #fefaf5; 
}

.table-bordered-custom th,
.table-bordered-custom td { 
  border: 2px solid #dccfbf; 
}

.table-hover-custom th,
.table-hover-custom td { 
  border: 1px solid #f0e2d2; 
}

.table-hover-custom tbody tr:hover {
  background-color: rgba(224, 108, 46, 0.05);
  cursor: pointer;
}

.table-dark-custom {
  background-color: #2d2418;
  color: #fff;
}

.table-dark-custom th,
.table-dark-custom td { 
  border: 1px solid #5a4a36; 
}

.table-dark-custom tbody tr:nth-child(odd) { 
  background-color: #3e2f21; 
}

.table-colored {
  background-color: #fef0e6;
  color: #b85a28;
}

.table-colored th,
.table-colored td { 
  border: 1px solid #f0d6c2; 
}

.table-gradient {
  color: #fff;
  background: linear-gradient(135deg, #e06c2e, #f0894b);
}

.table-gradient th,
.table-gradient td { 
  border: 1px solid rgba(255, 255, 255, 0.2); 
}

.table-minimal {
  border: none;
  background-color: #ffffff;
}

.table-minimal th {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: bold;
}

.table-minimal td { 
  border-bottom: 1px solid #f0e6d8; 
}

.table-glass {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 245, 235, 0.7);
  border-radius: var(--radius-sm);
}

.table-glass th,
.table-glass td { 
  border: 1px solid rgba(224, 108, 46, 0.2); 
}

.table-shadow {
  background-color: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: 24px;
}

.table-shadow th,
.table-shadow td {
  border: none;
  padding: 0.9rem 1rem;
}

/* ==========================================
   NOTIFICATIONS & MODALS - Warm Tones
   ========================================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-toast);
}

.notifier-container {
  position: fixed;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: 0.9375rem;
  pointer-events: none;
  font-family: var(--font-sans);
}

.notifier-top-right {
  top: 20px;
  right: 20px;
  align-items: flex-end;
}

.notifier-bottom-right {
  bottom: 20px;
  right: 20px;
  align-items: flex-end;
}

.notifier-top-left {
  top: 20px;
  left: 20px;
  align-items: flex-start;
}

.notifier-bottom-left {
  bottom: 20px;
  left: 20px;
  align-items: flex-start;
}

.notifier {
  min-width: 300px;
  max-width: 420px;
  background: #fffefc;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  overflow: hidden;
  padding: 0.8rem 1.2rem;
  border-left: 4px solid transparent;
  color: #3a2c1f;
  font-size: var(--text-sm);
  font-weight: 500;
  pointer-events: all;
  animation: slideIn 0.4s ease forwards;
  opacity: 0;
  transform: translateX(30px);
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(30px);
  }
}

.notifier .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notifier .close-btn {
  margin-left: auto;
  cursor: pointer;
  font-weight: bold;
  color: #c9b69c;
  transition: color var(--transition-base);
}

.notifier .close-btn:hover { 
  color: var(--primary-color); 
}

.notifier-success {
  border-left-color: var(--success-color);
  background: #edf7f2;
}

.notifier-success .icon { 
  color: var(--success-color); 
}

.notifier-error {
  border-left-color: var(--error-color);
  background: #fef3f1;
}

.notifier-error .icon { 
  color: var(--error-color); 
}

.notifier-warning {
  border-left-color: var(--warning);
  background: #fef8e8;
}

.notifier-warning .icon { 
  color: var(--warning); 
}

.notifier-info {
  border-left-color: var(--info);
  background: #eef6fc;
}

.notifier-info .icon { 
  color: var(--info); 
}
.confirmation-modal {
  position: fixed;
  inset: 0;
  background: rgba(45, 36, 24, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  padding: 1rem;
}

.confirmation-modal.show {
  opacity: 1;
  pointer-events: all;
}

.confirmation-content {
  background: #fffefc;
  border-radius: 32px;
  width: 90%;
  max-width: 420px;

  /* CRITICAL FIX */
  max-height: 80vh;
  display: flex;
  flex-direction: column;

  overflow: hidden;

  padding: 1.5rem 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  animation: fadeInScale 0.3s ease forwards;
}

.confirmation-content .confirmation-icon {
  font-size: 3.5rem;
  color: var(--warning);
}

.confirmation-close {
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #c9b69c;
  transition: color var(--transition-base);
  position: absolute;
  top: 18px;
  right: 18px;
}

/* BODY (holds icon, title, message) */
.confirmation-body {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: #5a4a36;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  /* CRITICAL FIX */
  flex: 1;
  min-height: 0; /* ALLOWS INSIDE SCROLL */

  overflow: hidden;
}

/* ONLY MESSAGE SCROLLS */
.confirmation-message {
  overflow-y: auto;

  /* CRITICAL FIX */
  flex: 1;
  min-height: 0;

  padding-right: 8px;
}

/* Optional scrollbar styling */
.confirmation-message::-webkit-scrollbar {
  width: 6px;
}
.confirmation-message::-webkit-scrollbar-thumb {
  background: #dccfbf;
  border-radius: 6px;
}

.confirmation-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: var(--gap);

  flex-shrink: 0;
  padding-top: 1rem;
  border-top: 1px solid #f0e6d8;
}


@keyframes fadeInScale {
  0% { 
    opacity: 0; 
    transform: scale(0.92); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1); 
  }
}

.modal-confirm .modal-content {
  border-radius: 32px;
  text-align: center;
  padding: 1.5rem;
}

.modal-confirm .icon-box {
  font-size: 4rem;
  color: var(--warning);
  margin-bottom: 0.75rem;
}

.confirmation-content.confirmation-md {
  max-width: 520px;
}

.confirmation-content.confirmation-lg {
  max-width: 720px;
}

.confirmation-md .confirmation-body,
.confirmation-lg .confirmation-body {
  padding: 1.5rem;
}

.confirmation-lg .confirmation-body {
  padding: 2rem;
}

/* ==========================================
   PROFILE COMPONENTS - Fresh
   ========================================== */
.profile-header {
  background: linear-gradient(135deg, #e06c2e, #b85a28);
  color: white;
  border-radius: 32px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,245,235,0.08)"/></svg>');
  background-size: cover;
}

.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid rgba(255, 245, 235, 0.4);
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 1.8rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 0 1rem;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  opacity: 0.85;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--muted);
}

.info-value {
  color: var(--text);
  text-align: right;
}

.action-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.action-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--gap);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.action-item:last-child {
  border-bottom: none;
}

.action-item:hover {
  background-color: rgba(224, 108, 46, 0.05);
  padding-left: 0.75rem;
  border-radius: 20px;
}

.action-item i {
  width: 28px;
  text-align: center;
  color: var(--primary-color);
}

.profile-actions {
  display: flex;
  gap: var(--gap);
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress {
  height: 8px;
  border-radius: 10px;
  background: #f0e6d8;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
  border-radius: 10px;
}

.activity-timeline {
  position: relative;
  padding-left: 2rem;
}

.activity-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(224, 108, 46, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(224, 108, 46, 0.3);
}

.timeline-date {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.timeline-content {
  font-size: var(--text-sm);
}

/* ==========================================
   SEARCH & CROPPER COMPONENTS - Fresh
   ========================================== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 36, 24, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  display: flex;
  opacity: 1;
}

.search-container {
  background: white;
  border-radius: 48px;
  padding: 2rem 2rem 2rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s ease;
  max-width: 650px;
  width: 90%;
  position: relative;
}

.search-overlay.active .search-container {
  transform: scale(1);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1.2rem;
}

.search-input {
  width: 100%;
  padding: 1.1rem 1.8rem;
  padding-right: 60px;
  border: 2px solid #f0e2d2;
  border-radius: 60px;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
  background: #fefaf5;
}

.search-input:focus {
  border-color: #e06c2e;
  background: white;
  box-shadow: 0 4px 20px rgba(224, 108, 46, 0.15);
}

.search-input::placeholder {
  color: #c9b69c;
}

.search-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #e06c2e;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: #c55a1f;
  transform: translateY(-50%) scale(1.05);
}

.search-button:active {
  transform: translateY(-50%) scale(0.96);
}

.search-close {
  position: absolute;
  top: -2rem;
  right: -2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #dccfbf;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.search-hint {
  text-align: center;
  color: #c9b69c;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.search-results {
  margin-top: 1.2rem;
  max-height: 350px;
  overflow-y: auto;
}


/* Search Results Styling - Warm */
.search-results {
    margin-top: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    background: #fefaf5;
    border-radius: 28px;
    padding: 1rem;
    border: 1px solid #f0e2d2;
}

.results-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0e2d2;
}

.results-header h4 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #f0e2d2;
    transition: all 0.2s ease;
    cursor: pointer;
}

.result-item:hover {
    border-color: #e06c2e;
    box-shadow: 0 4px 12px rgba(224, 108, 46, 0.1);
    transform: translateY(-2px);
}

.result-info {
    flex: 1;
}

.result-name {
    font-weight: 500;
    color: #3a2c1f;
    margin-bottom: 0.25rem;
    font-size: 15px;
}

.result-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.result-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.staff-badge {
    background: rgba(224, 108, 46, 0.1);
    color: #c55a1f;
}

.student-badge {
    background: rgba(42, 157, 110, 0.1);
    color: #2a9d6e;
}

.result-id {
    font-size: 0.8rem;
    color: #9b7b5c;
}

.result-select-btn {
    background: #e06c2e;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 1rem;
}

.result-select-btn:hover {
    background: #c55a1f;
    transform: scale(1.05);
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #9b7b5c;
    font-style: italic;
}

/* Scrollbar styling */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f0e6d8;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #dccfbf;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #c9b69c;
}


.results-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0e2d2;
}

.results-header h4 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Style for anchor tag result items */
.result-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #f0e2d2;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.result-item:hover {
    text-decoration: none;
    color: inherit;
    border-color: #e06c2e;
    box-shadow: 0 4px 12px rgba(224, 108, 46, 0.1);
    transform: translateY(-2px);
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-info {
    flex: 1;
}

.result-name {
    font-weight: 500;
    color: #e06c2e;
    margin-bottom: 0.25rem;
    font-size: 15px;
}

.result-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.result-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-badge {
    background: rgba(224, 108, 46, 0.1);
    color: #c55a1f;
}

.student-badge {
    background: rgba(42, 157, 110, 0.1);
    color: #2a9d6e;
}

.result-id {
    font-size: 0.8rem;
    color: #9b7b5c;
}

.result-select-btn {
    background: #e06c2e;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 1rem;
}

.result-select-btn:hover {
    background: #c55a1f;
    transform: scale(1.05);
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #9b7b5c;
    font-style: italic;
}




.crop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crop-overlay.active {
  display: flex;
  opacity: 1;
}

.crop-container {
  background: white;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 950px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.3s ease;
}

.crop-overlay.active .crop-container {
  transform: scale(1);
}

.crop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #f0e2d2;
  background: #fefaf5;
  flex-shrink: 0;
}

.crop-header h5 {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
}

.crop-header h5 i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.crop-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #c9b69c;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.crop-close:hover {
  background: #f0e6d8;
  color: #e65c4f;
}

.crop-preview-area {
  display: flex;
  flex: 1;
  min-height: 420px;
  max-height: calc(90vh - 150px);
  overflow: hidden;
  position: relative;
}

.crop-main {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefaf5;
  border-right: 1px solid #f0e2d2;
  position: relative;
  overflow: hidden;
}

.crop-main-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crop-main img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 16px;
}

.crop-sidebar {
  width: 260px;
  padding: 1.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid #f0e2d2;
  flex-shrink: 0;
}

.preview-container {
  text-align: center;
}

.preview-container h6 {
  margin: 0 0 1rem 0;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.preview-box {
  width: 150px;
  height: 150px;
  border: 2px dashed #f0e2d2;
  border-radius: 24px;
  overflow: hidden;
  background: #fefaf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.preview-box img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.crop-controls {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.crop-controls .btn {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  font-size: 1.1rem;
}

.crop-footer {
  padding: 1.2rem 2rem;
  border-top: 1px solid #f0e2d2;
  display: flex !important;
  justify-content: flex-end;
  gap: 1rem;
  background: #fefaf5;
  flex-shrink: 0;
  min-height: 85px;
  align-items: center;
}

.crop-footer .btn {
  min-width: 110px;
  border-radius: 40px;
}

.cropper-container {
  direction: ltr;
  font-size: 0;
  line-height: 0;
  position: relative;
  touch-action: none;
  user-select: none;
}

.cropper-view-box,
.cropper-face {
  border-radius: 50%;
}

.cropper-view-box {
  outline: 2px solid #e06c2e;
  outline-color: rgba(224, 108, 46, 0.75);
}

.cropper-line {
  background-color: #e06c2e;
}

.cropper-point {
  background-color: #e06c2e;
  width: 8px;
  height: 8px;
  opacity: 0.75;
}

.cropper-point.point-se {
  background-color: #2a9d6e;
}

/* ==========================================
   A4 FULL WIDTH REPORT CARD (unchanged structure)
   ========================================== */
html, body{
    margin:0;
    padding:0;
    background:#fff9f0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.report-wrapper{
    width:100%;
    padding:20px 30px;
    background:white;
}

/* Header */
.school-header{
    border-bottom:3px solid #e06c2e;
    padding-bottom:12px;
    margin-bottom:15px;
}

.school-logo{
    width:70px;
    height:70px;
    object-fit:contain;
}

.school-name{
    font-size:19px;
    font-weight:700;
    color:#e06c2e;
}

.school-address{
    font-size:12px;
    color:#9b7b5c;
}

/* Info Section */
.info-box{
    background:#fefaf5;
    padding:10px;
    border:1px solid #f0e2d2;
}

.info-box p{
    margin:2px 0;
    font-size:12px;
}

/* Table */
.table{
    margin-top:10px;
}

.table thead{
    background:#e06c2e;
    color:white;
    font-size:11px;
}

.table td{
    font-size:11px;
    padding:5px;
}

/* Summary */
.summary-box{
    border:2px solid #e06c2e;
    padding:10px;
    font-size:12px;
    margin-top:10px;
}

/* Officials */
.officials{
    margin-top:20px;
    font-size:12px;
}

/* Footer */
.result-footer{
  display: none;
  position:fixed;
  width: 100%;
  text-align: center;
  bottom:2mm;
  left:12mm;
  right:12mm;
 }


/* Print Setup */
@media print{

    body{
        background:white;
    }

    html, body{
        height:100%;
    }

    .no-print{
        display:none;
    }

    .report-wrapper{
        padding:0;
        margin:0;
        min-height:100%;
        padding-bottom:40mm;
    }

    @page{
        size:A4;
        margin:12mm;
    }

    .result-footer{
      display: inline-block;
      font-size:10px;
      color:#5a4a36;
    }
}

/* ==========================================
   UTILITY CLASSES - Warm Palette
   ========================================== */
.bg-blue { background: linear-gradient(135deg, #e06c2e, #c55a1f); }
.bg-green { background: linear-gradient(135deg, #2a9d6e, #1e7a55); }
.bg-orange { background: linear-gradient(135deg, #f4b942, #e09d32); }
.bg-purple { background: linear-gradient(135deg, #b85a28, #8e451f); }
.bg-pink { background: linear-gradient(135deg, #e65c4f, #c53a2c); }
.bg-red { background: linear-gradient(135deg, #e65c4f, #c53a2c); }
.bg-teal { background: linear-gradient(135deg, #3b9ac6, #2c7da0); }
.bg-yellow { background: linear-gradient(135deg, #f4b942, #e0a532); }
.bg-gray { background: linear-gradient(135deg, #9b7b5c, #7d6045); }
.bg-success { background: #2a9d6e !important; }
.bg-gradient-primary {
  background: linear-gradient(135deg, #e06c2e 0%, #b85a28 100%);
}
.bg-light-warning {
  background-color: rgba(244, 185, 66, 0.1) !important;
}
.bg-purple {
  background-color: #b85a28 !important;
}
.bg-orange {
  background-color: #f4b942 !important;
}

.progress-blue { background: #e06c2e; }
.progress-green { background: #2a9d6e; }
.progress-orange { background: #f4b942; }
.progress-purple { background: #b85a28; }
.progress-pink { background: #e65c4f; }
.progress-red { background: #e65c4f; }
.progress-teal { background: #3b9ac6; }
.progress-yellow { background: #f4b942; }
.progress-gray { background: #9b7b5c; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.stack { display: flex; flex-direction: column; gap: var(--gap-sm); }
.gap-xs { gap: var(--gap-xs); }
.gap-sm { gap: var(--gap-sm); }
.gap { gap: var(--gap); }
.gap-lg { gap: var(--gap-lg); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 40px;
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge-pill { border-radius: 40px; }
.badge-primary { background: linear-gradient(105deg, #e06c2e, #c55a1f); color: #fff; }
.badge-muted { background: rgba(58, 44, 31, 0.06); color: var(--muted); }

.status-badge {
  padding: 0.4em 0.8em;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 30px;
}

.status-active {
  background-color: #e0f2e9;
  color: #2a9d6e;
}

.status-pending {
  background-color: #fef1df;
  color: #f4b942;
}

.role-badge {
  padding: 0.4em 0.8em;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: #f0e6d8;
  color: #5a4a36;
}

.badge-status {
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: var(--text-xs);
  font-weight: 600;
}

.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

form .btn { align-self: flex-start; }

/* ==========================================
   TYPOGRAPHY & CONTENT
   ========================================== */
.pg-title {
  margin: 0 0 var(--gap-sm);
  color: var(--muted);
  font-size: var(--text-lg);
  font-weight: 600;
}

.content-title {
  color: var(--primary-color);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--gap);
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.8rem;
}

.info-text {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: 0.5rem;
  text-align: center;
}

.loading-spinner,
.error-message,
.auth-error {
  display: none;
}

.table-responsive {
  min-height: 400px;
}

.avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
  font-weight: 600;
}

.avatar-placeholder {
  width: 90px;
  height: 90px;
}

/* ==========================================
   ANIMATIONS (unchanged but with warm colors)
   ========================================== */
.icon-emoji-dramatic {
    position: relative;
    width: 160px;
    height: 100px;
    margin: 0 auto;
    perspective: 500px;
    overflow: visible !important;
}

.icon-emoji-dramatic .calculator-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #e06c2e, #c55a1f);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 45px;
    top: 10px;
    box-shadow: 
        0 6px 20px rgba(224, 108, 46, 0.4),
        inset 0 2px 4px rgba(255,245,235,0.4);
    z-index: 2;
    animation: calculatorGlowSide 7s infinite ease-in-out;
}

.icon-emoji-dramatic .calculator-icon i {
    font-size: 2.5rem;
    color: white;
}

.icon-emoji-dramatic .emoji-burst {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50px;
    top: 20px;
    z-index: 1;
    opacity: 0;
    transform: scale(0.3);
    animation: emojiBurstSide 7s infinite ease-in-out;
}

@keyframes calculatorGlowSide {
    0%, 40% {
        transform: translateX(0) rotateY(0deg);
        box-shadow: 
            0 6px 20px rgba(224, 108, 46, 0.4),
            inset 0 2px 4px rgba(255,245,235,0.4);
    }
    10%, 30% {
        transform: translateX(-2px) rotateY(-3deg);
        box-shadow: 
            0 8px 25px rgba(224, 108, 46, 0.5),
            inset 0 2px 4px rgba(255,245,235,0.4);
    }
    41% {
        transform: translateX(-5px) scale(0.95) rotateY(10deg);
        box-shadow: 
            0 4px 15px rgba(224, 108, 46, 0.3),
            inset 0 2px 4px rgba(255,245,235,0.3);
    }
    50%, 90% {
        transform: translateX(-10px) scale(0.9) rotateY(15deg);
        box-shadow: 
            0 2px 10px rgba(224, 108, 46, 0.2),
            inset 0 2px 4px rgba(255,245,235,0.2);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) rotateY(0deg);
        box-shadow: 
            0 6px 20px rgba(224, 108, 46, 0.4),
            inset 0 2px 4px rgba(255,245,235,0.4);
        opacity: 1;
    }
}

@keyframes emojiBurstSide {
    0%, 40% {
        opacity: 0;
        transform: scale(0.3) translateX(0);
        filter: blur(8px) brightness(0.8);
    }
    41% {
        opacity: 0.2;
        transform: scale(0.4) translateX(10px);
        filter: blur(4px) brightness(0.9);
    }
    44% {
        opacity: 0.5;
        transform: scale(0.6) translateX(25px);
        filter: blur(2px) brightness(1);
    }
    47% {
        opacity: 0.8;
        transform: scale(0.8) translateX(40px);
        filter: blur(0px) brightness(1.1);
    }
    50%, 88% {
        opacity: 1;
        transform: scale(1) translateX(50px);
        filter: blur(0px) brightness(1.2);
        z-index: 3;
    }
    55% {
        transform: scale(1.05) translateX(52px);
    }
    65% {
        transform: scale(1) translateX(50px);
    }
    75% {
        transform: scale(1.03) translateX(51px);
    }
    85% {
        transform: scale(1) translateX(50px);
    }
    89% {
        opacity: 0.8;
        transform: scale(0.8) translateX(40px);
        filter: blur(0px) brightness(1.1);
    }
    92% {
        opacity: 0.5;
        transform: scale(0.6) translateX(25px);
        filter: blur(2px) brightness(1);
    }
    95% {
        opacity: 0.2;
        transform: scale(0.4) translateX(10px);
        filter: blur(4px) brightness(0.9);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateX(0);
        filter: blur(8px) brightness(0.8);
        z-index: 1;
    }
}

.emoji-burst img {
    border-radius: 50%;
    box-shadow: 
        0 6px 20px rgba(244, 185, 66, 0.5),
        0 0 40px rgba(244, 185, 66, 0.4);
    animation: emojiBounce 2s infinite ease-in-out;
}

@keyframes emojiBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.icon-emoji-dramatic .connection-line {
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(224, 108, 46, 0.5), rgba(244, 185, 66, 0.5));
    top: 50px;
    left: 110px;
    z-index: 2;
    opacity: 0;
    animation: lineExtend 7s infinite ease-in-out;
}

@keyframes lineExtend {
    0%, 40%, 95%, 100% {
        width: 0;
        opacity: 0;
        left: 110px;
    }
    47%, 88% {
        width: 40px;
        opacity: 0.6;
        left: 110px;
    }
}

/* ==========================================
   RESPONSIVE DESIGN - Enhanced
   ========================================== */
@media (max-width: 768px) {
  .auth-wrapper {
    flex-direction: column;
  }
  
  .auth-left {
    padding: 30px;
  }
  
  .auth-right {
    padding: 30px;
  }
  
  .auth-form-row {
    flex-direction: column;
    gap: 0;
  }

  .dropdown-menu {
    width: 90vw;
    max-height: 60vh;
  }
  
  .profile-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .profile-header {
    padding: 1.5rem 1rem;
    text-align: center;
  }
  
  .profile-actions {
    justify-content: center;
  }
  
  .info-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .info-value {
    text-align: left;
  }
  
  .content {
    padding: 1rem;
  }
  
  .search-container {
    margin: 1rem;
    padding: 1.2rem;
  }
  
  .search-input {
    font-size: 1rem;
    padding: 0.9rem 1.4rem;
    padding-right: 50px;
  }
  
  .search-button {
    width: 40px;
    height: 40px;
  }
  
  .crop-preview-area {
    flex-direction: column;
    max-height: none;
    min-height: 320px;
  }
  
  .crop-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-left: none;
    border-top: 1px solid #f0e2d2;
  }
  
  .preview-box {
    width: 100px;
    height: 100px;
    margin: 0;
  }
  
  .crop-main {
    min-height: 260px;
    border-right: none;
    border-bottom: 1px solid #f0e2d2;
  }
  
  .crop-controls {
    order: -1;
  }
  
  .preview-container {
    text-align: left;
  }
  
  .preview-container h6 {
    margin-bottom: 0.5rem;
  }
  
  .crop-footer {
    padding: 1rem;
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .crop-footer .btn {
    width: 100%;
  }

  .step-indicator {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-connector {
    display: none;
  }
  
  .step {
    width: 100%;
  }
}

.mobile-display {
  display: inline-block;
}

.desktop-display {
  display: none;
}

@media (min-width: 993px) {
  .sidebar { 
    left: 0; 
  }
  
  .topbar { 
    margin-left: 260px; 
  }
  
  .content {
    font-size: var(--text-sm);
    margin-left: 260px;
  }
  
  .sidebar-toggle { 
    display: none; 
  }
  .mobile-display {
    display: none;
  }
  
  .desktop-display {
    display: inline-block;
  }
}

/* ==========================================
   PRINT MEDIA
   ========================================== */
@media print {
   .sidebar, .topbar, .no-print {
     display: none !important;
   }
   
   .content {
     margin-left: 0 !important;
     padding: 20px !important;
   }
   
   .report-card, .report-wrapper {
     box-shadow: none !important;
   }
   
   .print-break {
     page-break-before: always;
   }
}

.pg-title {
  margin-left: 0.75rem;
  padding: 0.4rem;
  color: #5a4a36;
  font-size: var(--text-lg);
}

.badge {
  font-size: 0.7rem;
  padding: 0.4rem 0.9rem;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.pg-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #5a4a36;
}

.card {
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border-radius: 28px;
}

.card-title {
  color: var(--primary-dark);
  font-weight: 600;
}

.table > :not(caption) > * > * {
  padding: 0.85rem 0.6rem;
}

.student-info .border-bottom:last-child {
  border-bottom: none !important;
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.table-hover tbody tr:hover {
  background-color: rgba(224, 108, 46, 0.04);
}

/* ==========================================
   PROFILE SIDEBAR & TAB COMPONENTS
   ========================================== */
.profile-sidebar-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}

.profile-tab-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-tab-nav li {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.profile-tab-nav li.active {
  background-color: rgba(13, 110, 253, 0.05);
  border-left-color: #0d6efd;
}

.profile-tab-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.profile-tab-nav li a i {
  font-size: 1.25rem;
  width: 28px;
  color: #5e6f8d;
}

.profile-tab-nav li.active a i {
  color: #0d6efd;
}

.profile-tab-nav li a:hover {
  background-color: #f8f9fa;
}

.profile-tab-content-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  height: 100%;
  min-height: 480px;
}

.profile-tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.profile-tab-pane.active-pane {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px);}
  to { opacity: 1; transform: translateY(0);}
}

.info-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
  flex-wrap: wrap;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  width: 140px;
  font-weight: 600;
  color: #2c3e50;
}

.info-value {
  flex: 1;
  color: #4a627a;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pane-action-btn {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

.subject-card {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.subject-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.class-item {
  background: white;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.class-item:hover {
  background: #fefce8;
}

.delete-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.bulk-delete-bar {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .info-label {
    width: 100%;
    margin-bottom: 4px;
  }
  .profile-tab-nav li a {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}