@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap');

:root {
  --base-font-size: 18px; /* global text size */
}

html { font-size: var(--base-font-size); }
/* Hide scrollbars but keep wheel/trackpad scrolling */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { width: 0; height: 0; }

.disable-transitions body,
body {
  margin: 0;
  font-family: var(--default-font-family, 'Fugaz One'), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #ffffff;
  height: 100vh;
  overflow: hidden; /* Lock the body from scrolling */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Page transitions removed for accessibility */
}

/* Force new default font across common UI elements */
:where(button, input, select, textarea, .nav-btn, .tab-btn, .action-btn, .type-filter, .skeu-container, .projects-grid, .users-grid, .mobile-toolbar .mt-btn, h1, h2, h3, h4, h5, h6, p, span, a) {
  font-family: var(--default-font-family, 'Jersey 10'), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* Material Icons - must override the global font rule */
.material-icons {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Gamepad UI Navigation Styles */
.gamepad-focused {
  outline: 2px solid rgba(76, 175, 80, 0.5) !important;
  outline-offset: 2px !important;
  transform: scale(1.02);
  transition: transform 0.15s ease;
}

.gamepad-focus-indicator {
  position: absolute;
  border: 3px solid #4CAF50;
  border-radius: 8px;
  pointer-events: none;
  z-index: 999999;
  transition: all 0.15s ease;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3), 0 4px 12px rgba(76, 175, 80, 0.4);
  background: rgba(76, 175, 80, 0.1);
  display: none;
}

/* Ensure focusable elements are accessible */
a, button, input, select, textarea, [tabindex] {
  position: relative;
}

/* Smooth transitions for gamepad navigation */
.nav-btn, .action-btn, .quick-action-btn, .project-card, 
.announcement-card, .announcement-preview-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Global outline removal for all nav buttons and their wrappers */
.sidebar .nav-buttons *,
.sidebar .nav-buttons *:focus,
.sidebar .nav-buttons *:focus-visible,
.sidebar .nav-buttons *:active,
.sidebar .nav-buttons *:hover,
.sidebar .nav-buttons *:visited,
.sidebar .nav-buttons *:link {
  outline: none !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}

.background-clouds {
  display: block;
  position: fixed;
  top: -5vh;
  left: -5vw;
  width: 110vw;
  height: 110vh;
  z-index: -1;
  background: url('Sky.png') center center / cover no-repeat;
  pointer-events: none;
}

/* Skeuomorphic Theme - Background Images */
.white-background-theme .background-clouds,
.skeuomorphic-white-theme .background-clouds {
  background: url('WhiteBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-blue-theme .background-clouds {
  background: url('Sky.png') center center / cover no-repeat !important;
}

.skeuomorphic-green-theme .background-clouds {
  background: url('Sky.png') center center / cover no-repeat !important;
}

.skeuomorphic-purple-theme .background-clouds {
  background: url('Sky.png') center center / cover no-repeat !important;
}

.skeuomorphic-orange-theme .background-clouds {
  background: url('Sky.png') center center / cover no-repeat !important;
}

.skeuomorphic-pink-theme .background-clouds {
  background: url('PinkBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-black-theme .background-clouds {
  background: url('BlackBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-yellow-theme .background-clouds {
  background: url('YellowBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-green-bg-theme .background-clouds {
  background: url('GreenBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-blue-bg-theme .background-clouds {
  background: url('BlueBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-red-theme .background-clouds {
  background: url('RedBackground.png') center center / cover no-repeat !important;
}

.skeuomorphic-dorfic-theme .background-clouds {
  background: url('DorficBackground.png') center center / cover no-repeat !important;
}

.sidebar {
  width: 400px;
  background: url('Sidebar.png') center center / 100% 100% no-repeat;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  height: 88vh;
}

/* --- Skeuomorphic Text Box Styles --- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="number"],
textarea {
    background: #bababa; /* Fallback for old browsers */
    background: linear-gradient(to bottom, #dcdcdc, #f5f5f5);
    border: 1px solid #a0a0a0;
    border-radius: 8px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 
                inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    font-family: 'Fugaz One', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 1rem; /* scales with html size */
    color: #333;
    /* transition removed for accessibility */
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #888;
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.25), 
                inset -3px -3px 6px rgba(255, 255, 255, 0.6),
                0 0 5px rgba(0, 123, 255, 0.5); /* Subtle glow on focus */
}

/* --- General Layout --- */
.layout-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1800px;
  width: 90vw;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container {
  margin: 20px;
  flex-grow: 1;
  padding: 20px;
  background: url('Page.png') center center / 100% 100% no-repeat;
  border: none;
  height: 90vh;
  display: flex;
  overflow-y: auto; /* still scrollable but hidden scrollbar */
}

.main-content {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-y: auto; /* Allow this specific area to scroll */
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.logo-text-img {
  height: 50px;
  width: auto;
}

.nav-buttons {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-auth-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.nav-auth-buttons > * {
  flex-grow: 1; /* This is the fix */
}

/* (removed unused .nav-auth-buttons .nav-btn override) */

.nav-btn {
  width: 100%;
  padding: 12px 0; /* Homepage-style compact padding */
  font-size: 1rem; /* Homepage-style font size */
  font-family: 'Baloo 2', cursive;
  border: none !important;
  border-radius: 10px;
  background: url('GreyButton.png') center center / 100% 100% no-repeat !important;
  background-color: transparent !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: none !important;
  outline: none !important;
  /* Text outline removed - only shows in legacy theme */
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* White text with black outline for Legacy Theme only - ensures visibility on legacy backgrounds */
body.legacy-theme-active .nav-btn {
  color: #ffffff !important;
  text-shadow: 
    -0.5px -0.5px 0 #000,
    0.5px -0.5px 0 #000,
    -0.5px 0.5px 0 #000,
    0.5px 0.5px 0 #000,
    0 0 1px rgba(0, 0, 0, 0.8) !important;
  -webkit-text-stroke: 0.4px #000 !important;
}

/* All pages now use the same compact button style */

.nav-btn.active, 
.nav-btn:hover,
.nav-btn.active:focus,
.nav-btn:hover:focus,
.nav-btn.active:focus-visible,
.nav-btn:hover:focus-visible {
  background: url('GreenButton.png') center center / 100% 100% no-repeat !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: none !important;
  transform: translateY(-1px) translateZ(0);
  outline: none !important;
  /* Text outline removed - only shows in legacy theme */
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15) !important;
}

/* White text with black outline for Legacy Theme hover/active states */
body.legacy-theme-active .nav-btn.active,
body.legacy-theme-active .nav-btn:hover {
  color: #ffffff !important;
  text-shadow: 
    -0.5px -0.5px 0 #000,
    0.5px -0.5px 0 #000,
    -0.5px 0.5px 0 #000,
    0.5px 0.5px 0 #000,
    0 0 1px rgba(0, 0, 0, 0.8) !important;
  -webkit-text-stroke: 0.4px #000 !important;
}

/* Disabled button state - use grey button PNG */
.nav-btn:disabled,
.nav-btn[disabled] {
  background: url('GreyButton.png') center center / 100% 100% no-repeat !important;
  background-color: transparent !important;
  color: #ffffff !important;
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  /* Text outline removed - only shows in legacy theme */
}

.nav-btn:disabled:hover,
.nav-btn[disabled]:hover {
  background: url('GreyButton.png') center center / 100% 100% no-repeat !important;
  transform: none !important;
}

/* Remove outline and border from all nav buttons on focus/active */
.nav-btn:focus,
.nav-btn:focus-visible,
.nav-btn:active,
.nav-btn:focus-within,
.nav-btn:hover:focus,
.nav-btn:hover:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
}

/* Remove outline and border from nav button wrapper links */
.nav-buttons a,
.nav-buttons a:focus,
.nav-buttons a:focus-visible,
.nav-buttons a:active,
.nav-buttons a:hover,
.nav-buttons a:visited,
.nav-buttons a:link {
  outline: none !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Remove outline from all nav button elements and their children */
.nav-buttons *,
.nav-buttons *:focus,
.nav-buttons *:focus-visible,
.nav-buttons *:active,
.nav-buttons *:hover {
  outline: none !important;
  border: none !important;
}

/* Specifically target button elements inside nav-buttons */
.nav-buttons button,
.nav-buttons button:focus,
.nav-buttons button:focus-visible,
.nav-buttons button:active,
.nav-buttons button:hover {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Notification Badge */
#notifications-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: none !important;
  border: none !important;
}

#notifications-btn:focus,
#notifications-btn:focus-visible,
#notifications-btn:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove outline from notifications button wrapper */
a:has(#notifications-btn),
a:has(#notifications-btn):focus,
a:has(#notifications-btn):focus-visible,
a:has(#notifications-btn):active {
  outline: none !important;
  border: none !important;
}

/* Alternative selector for browsers that don't support :has() */
a[href*="notifications"] button#notifications-btn,
a[href*="notifications"]:focus,
a[href*="notifications"]:focus-visible {
  outline: none !important;
  border: none !important;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification.error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification.warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.notification-badge {
  background: linear-gradient(145deg, #ef4444, #dc2626);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.1) translateZ(0); }
}

/* GPU acceleration for animated elements */
.notification-badge,
[class*="animate"],
[class*="pulse"],
[class*="bounce"] {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Responsive adjustments for smaller screens */
@media (max-height: 800px) {
  .nav-btn {
    padding: 12px 0;
    font-size: 1rem;
  }
  .nav-buttons {
    gap: 10px;
  }
  .logo {
    margin-bottom: 20px;
  }
  .nav-btn {
    padding: 10px 0;
    font-size: 0.9rem;
  }
}

@media (max-height: 650px) {
  .nav-btn {
    padding: 8px 0;
    font-size: 0.9rem;
  }
  .nav-buttons {
    gap: 8px;
  }
  .logo-text-img {
    height: 40px;
  }
  .nav-btn {
    padding: 6px 0;
    font-size: 0.8rem;
  }
}

@media (max-height: 700px) {
    .nav-btn {
        padding: 10px 0;
        font-size: 1rem;
    }
}

/* --- Page Transition Animations --- */
/* Page transition animations removed for accessibility */

/* Push forward animations removed for accessibility */

/* Disable transitions setting (scoped to page navigation only) */
.disable-transitions body.page-leaving,
.disable-transitions body.page-push .container,
.disable-transitions body.page-push .main-content,
.disable-transitions body.page-push .layout-wrapper {
  animation: none !important;
  transition: none !important;
  filter: none !important;
  transform: none !important;
}
.disable-transitions .page-transition-overlay .frost-layer {
  animation: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: transparent !important;
}

/* pushForward keyframes removed for accessibility */

/* Reduced motion media query no longer needed - all transitions removed */

/* Frutiger Aero frosted depth transitions removed for accessibility */

.greeting-avatar {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 40px;
}

.greeting {
  font-size: 2.5rem;
  color: #000;
  margin: 0;
}
.username {
  color: #000;
}

.avatar-edit-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #000;
  background: #fff;
  cursor: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
}
.avatar-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-text {
  position: absolute;
  bottom: 5px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 0 4px;
}

.greeting-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

#greeting-text {
  font-size: 2.5rem;
  font-weight: bold;
  color: #374151;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

#main-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.projects-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: stretch;
}

/* Ensure featured projects grid has consistent sizing */
.featured-projects-section .projects-grid .project-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 200px;
  max-width: 300px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  min-width: 200px;
  flex: 1 1 calc(33.333% - 20px);
}

/* Age-based content blurring - only blur thumbnail, not whole card */
.project-card.age-restricted {
  position: relative;
  cursor: none !important;
}

/* Only block clicks if the card is actually restricted (user is under 13) */
.project-card.age-restricted:not(.allow-view) {
  pointer-events: none;
}

/* Blur only the thumbnail image inside age-restricted cards */
.project-card.age-restricted .project-thumb img,
.project-card.age-restricted .project-thumbnail,
.project-card.age-restricted img {
  filter: blur(8px);
}

.project-card.age-restricted::before {
  content: "🔞 13+ Content";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  z-index: 10;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-card.age-restricted::after {
  content: "Sign in with a 13+ account to view this content";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ccc;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 10;
  text-align: center;
  margin-top: 20px;
  max-width: 200px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  margin-bottom: 10px;
  display: block;
  min-height: 0;
}

.project-card-title {
  font-weight: bold;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.2;
  margin-top: 6px;
}

.project-card-date {
  font-size: 0.65rem;
  color: #666;
  margin-top: 3px;
}

/* ===== SKEUOMORPHIC HOME PAGE LAYOUT ===== */

/* Hero Section - Skeuomorphic */
.hero-section {
  margin-bottom: 25px; /* Add gap between hero and other containers */
  padding: 25px;
  background: linear-gradient(145deg, #f0f2f5, #e8eaed);
  border-radius: 18px;
  box-shadow: 
    0 8px 16px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.9),
    inset 0 -2px 4px rgba(0,0,0,0.1);
  border: 1px solid #d1d5db;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4), rgba(255,255,255,0.8));
  border-radius: 18px 18px 0 0;
}

.greeting-content {
  flex: 1;
}

.welcome-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin: 8px 0 0 0;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.profile-avatar-link {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.3);
  border: 3px solid #e5e7eb;
}

.profile-avatar-link:hover {
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.25),
    inset 0 2px 4px rgba(255,255,255,0.4),
    0 0 0 4px rgba(59, 130, 246, 0.3);
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 25px;
  margin-bottom: 30px;
}

.dashboard-left,
.dashboard-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Dashboard Cards - Skeuomorphic */
.dashboard-card {
  background: linear-gradient(145deg, #f9fafb, #f3f4f6);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.12),
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -2px 4px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  position: relative;
  margin-bottom: 25px; /* Add gap between containers */
}

.dashboard-card:last-child {
  margin-bottom: 0; /* Remove gap after last container */
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5), rgba(255,255,255,0.9));
  border-radius: 16px 16px 0 0;
}

.dashboard-card:hover {
  box-shadow: 
    0 8px 16px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.9),
    inset 0 -2px 4px rgba(0,0,0,0.1);
}

/* Card Headers - Skeuomorphic */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.card-header h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #374151;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.view-all-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  border: 1px solid #93c5fd;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(255,255,255,0.8);
  text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

.view-all-link:hover {
  background: linear-gradient(145deg, #bfdbfe, #93c5fd);
  box-shadow: 
    0 1px 2px rgba(0,0,0,0.15),
    inset 0 1px 2px rgba(255,255,255,0.9);
}

/* Beta Feedback Container - Skeuomorphic */
/* User Count Milestone Tracker - Skeuomorphic */
.user-count-container {
  margin-bottom: 25px;
}

.user-count-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.user-count-display {
  text-align: center;
  padding: 15px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border: 2px solid #d4d4d4;
  border-radius: 12px;
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.12),
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -2px 4px rgba(0,0,0,0.08);
}

.user-count-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: #1e293b;
  text-shadow: 0 2px 4px rgba(255,255,255,0.9);
  line-height: 1.2;
  margin-bottom: 8px;
}

.user-count-label {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.milestone-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.milestone-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.milestone-text {
  font-size: 1rem;
  color: #374151;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.milestone-text strong {
  color: #1e293b;
  font-weight: 700;
}

.milestone-need {
  font-size: 1rem;
  color: #059669;
  font-weight: 700;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
  box-shadow: 
    inset 0 1px 2px rgba(255,255,255,0.8),
    inset 0 -1px 2px rgba(0,0,0,0.05);
}

.progress-bar-container {
  width: 100%;
  height: 24px;
  background: linear-gradient(145deg, #e5e7eb, #f3f4f6);
  border: 2px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.1),
    inset 0 -2px 4px rgba(255,255,255,0.8);
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
  background-size: 200% 100%;
  animation: progressShimmer 2s ease-in-out infinite;
  border-radius: 10px;
  transition: width 0.6s ease-out;
  box-shadow: 
    0 2px 4px rgba(59,130,246,0.4),
    inset 0 1px 2px rgba(255,255,255,0.3);
}

@keyframes progressShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.milestone-description {
  font-size: 0.95rem;
  color: #6b7280;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .user-count-number {
    font-size: 2.5rem;
  }
  
  .milestone-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

.beta-feedback-container {
  margin-bottom: 25px;
}

.beta-feedback-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.beta-feedback-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.beta-feedback-text {
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.beta-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border: 2px solid #d4d4d4;
  border-radius: 12px;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.2s ease;
}

.beta-feedback-btn:hover {
  background: linear-gradient(145deg, #f0f0f0, #d9d9d9);
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transform: translateY(1px);
  color: #1e293b;
}

.beta-feedback-btn:active {
  background: linear-gradient(145deg, #d9d9d9, #f0f0f0);
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.2),
    inset 0 -1px 0 rgba(255,255,255,0.8);
  transform: translateY(2px);
}

.beta-feedback-icon {
  font-size: 1.2rem;
}

.beta-feedback-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.beta-feedback-btn:hover .beta-feedback-arrow {
  transform: translateX(4px);
}

/* Share Button - Skeuomorphic */
.beta-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border: 2px solid #d4d4d4;
  border-radius: 12px;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.2s ease;
  cursor: none !important;
  font-family: 'Jersey 10', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.beta-share-btn:hover {
  background: linear-gradient(145deg, #f0f0f0, #d9d9d9);
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transform: translateY(1px);
  color: #1e293b;
}

.beta-share-btn:active {
  background: linear-gradient(145deg, #d9d9d9, #f0f0f0);
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.2),
    inset 0 -1px 0 rgba(255,255,255,0.8);
  transform: translateY(2px);
}

.beta-share-btn:disabled {
  opacity: 0.6;
  cursor: none !important;
  transform: none;
}

.share-reward-badge {
  background: linear-gradient(145deg, #10b981, #059669);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 
    0 2px 4px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
  border: 1px solid #047857;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Video Section - Skeuomorphic */
.video-section {
  position: relative;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(0,0,0,0.1);
  border: 2px solid #d1d5db;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Quick Actions - Skeuomorphic */
.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  background: linear-gradient(145deg, #f9fafb, #f3f4f6);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -1px 2px rgba(0,0,0,0.05);
  text-shadow: 0 1px 1px rgba(255,255,255,0.8);
  position: relative;
}

.quick-action-btn::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6), rgba(255,255,255,0.9));
  border-radius: 12px 12px 0 0;
}

.quick-action-btn:hover {
  background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(0,0,0,0.08);
}

.quick-action-btn:active {
  box-shadow: 
    0 1px 2px rgba(0,0,0,0.2),
    inset 0 2px 6px rgba(0,0,0,0.15),
    inset 0 1px 2px rgba(255,255,255,0.5);
}

.quick-action-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 50%;
  box-shadow: 
    0 4px 8px rgba(59, 130, 246, 0.3),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2);
  border: 1px solid #1d4ed8;
}

/* Featured Projects Section */
.featured-projects-section {
  grid-column: 1 / -1; /* Full width */
}

/* Homepage Announcements Section - Skeuomorphic */
.announcements-section h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #374151;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.announcements-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
}

/* Improved Friends Activity UI */
.friend-activity-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb !important;
    border-top: none !important;
    padding: 20px !important; /* Increased padding */
    margin-bottom: 16px !important; /* More space between cards */
    min-height: 140px; /* Ensure minimum height */
}

.friend-activity-card::before {
    display: none !important;
}

.friend-activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.friend-activity-header {
    display: flex;
    align-items: center;
    gap: 16px; /* Increased gap */
    margin-bottom: 16px; /* Increased margin */
}

.friend-activity-avatar {
    width: 64px !important; /* Increased from 48px */
    height: 64px !important; /* Increased from 48px */
    border-radius: 50%;
    border: 2px solid #ddd;
    object-fit: cover;
    flex-shrink: 0;
}

.friend-activity-info {
    flex: 1;
    min-width: 0;
}

.friend-activity-info .announcement-preview-title {
    margin: 0;
    font-size: 1.15rem !important; /* Increased from 1rem */
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.friend-activity-info .announcement-preview-date {
    font-size: 0.9rem !important; /* Increased from 0.85rem */
    color: #666;
    margin-top: 6px; /* Increased margin */
}

.friend-activity-content {
    display: flex;
    gap: 20px; /* Increased from 16px */
    align-items: center;
    margin-top: 12px; /* Increased margin */
}

.friend-activity-thumb {
    width: 160px !important; /* Increased from 120px */
    min-width: 160px; /* Ensure minimum width */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.friend-activity-details {
    flex: 1;
    min-width: 0;
    padding: 4px 0; /* Add some padding */
}

.friend-activity-title {
    margin: 0 0 12px 0; /* Increased margin */
    font-size: 1.2rem !important; /* Increased from 1.1rem */
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    word-wrap: break-word; /* Allow text to wrap */
    overflow-wrap: break-word;
}

.friend-activity-link {
    display: inline-block;
    font-size: 1rem !important; /* Increased from 0.9rem */
    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
}

.friend-activity-link:hover {
    color: #45a049;
    text-decoration: underline;
}

.friend-activity-comment {
    margin: 12px 0 0 0; /* Increased margin */
    padding: 16px !important; /* Increased from 12px */
    background: rgba(255,255,255,0.7);
    border-left: 3px solid #4CAF50;
    border-radius: 4px;
    font-style: italic;
    color: #555;
    line-height: 1.6 !important; /* Increased line height */
    font-size: 1rem !important; /* Increased font size */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.announcement-preview-card {
  background: linear-gradient(145deg, #f9fafb, #f3f4f6);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  /* transition removed for accessibility */
  position: relative;
  overflow: hidden;
  cursor: none !important;
}

/* Only show green border on announcement cards, not friend activity cards */
.announcement-preview-card:not(.friend-activity-card)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(145deg, #10b981, #059669);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), inset 0 -1px 2px rgba(0,0,0,0.2);
}

/* Friend activity cards styling - no green border, just clean border */

.announcement-preview-card.pinned::before {
  background: linear-gradient(145deg, #f59e0b, #d97706);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), inset 0 -1px 2px rgba(0,0,0,0.2);
}

.announcement-preview-card.important::before {
  background: linear-gradient(145deg, #ef4444, #dc2626);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), inset 0 -1px 2px rgba(0,0,0,0.2);
}

.announcement-preview-card:hover {
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08);
}

.announcement-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 10px;
}

.announcement-preview-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #495057;
  margin: 0;
  flex: 1;
}

.announcement-preview-type {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.announcement-preview-type.info {
  background: linear-gradient(145deg, #17a2b8, #138496);
}

.announcement-preview-type.update {
  background: linear-gradient(145deg, #28a745, #20c997);
}

.announcement-preview-type.feature {
  background: linear-gradient(145deg, #6f42c1, #5a32a3);
}

.announcement-preview-type.maintenance {
  background: linear-gradient(145deg, #fd7e14, #e55a00);
}

.announcement-preview-type.important {
  background: linear-gradient(145deg, #dc3545, #c82333);
}

.announcement-preview-content {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  line-clamp: 3; /* Allow more lines to show line breaks */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap; /* Preserve whitespace and line breaks */
  word-wrap: break-word; /* Break long words if necessary */
}

/* Ensure br tags create proper spacing in previews */
.announcement-preview-content br {
  line-height: 1.8; /* Add extra spacing for line breaks */
}

.announcement-preview-date {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 8px;
  font-weight: 500;
}

.announcements-preview::-webkit-scrollbar {
  width: 6px;
}

.announcements-preview::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.announcements-preview::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #adb5bd, #6c757d);
  border-radius: 3px;
}

.announcements-preview::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(145deg, #6c757d, #495057);
}

/* Population Machine Section */
.population-machine-section {
  margin-bottom: 30px;
}

.population-machine-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #495057;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.population-stats {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  border: 2px solid #e9ecef;
}

.population-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.population-count {
  text-align: center;
  flex: 1;
}

.population-number {
  font-size: 3rem;
  font-weight: 700;
  color: #28a745;
  text-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
  margin: 0;
  line-height: 1;
}

.population-label {
  font-size: 1.1rem;
  color: #6c757d;
  margin: 5px 0 0 0;
  font-weight: 500;
}

.population-goal {
  text-align: center;
  flex: 1;
}

.goal-number {
  font-size: 2rem;
  font-weight: 700;
  color: #6f42c1;
  text-shadow: 0 2px 4px rgba(111, 66, 193, 0.3);
  margin: 0;
  line-height: 1;
}

.goal-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 5px 0 0 0;
  font-weight: 500;
}

.progress-container {
  margin: 20px 0;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: linear-gradient(145deg, #e9ecef, #dee2e6);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 10px;
  /* transition removed for accessibility */
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.progress-text {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.milestones-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.milestone-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid #e9ecef;
  /* transition removed for accessibility */
  position: relative;
  overflow: hidden;
}

.milestone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6c757d, #adb5bd);
  /* transition removed for accessibility */
}

.milestone-card.unlocked::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.milestone-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.milestone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.milestone-icon {
  font-size: 1.5rem;
  opacity: 0.5;
  /* transition removed for accessibility */
}

.milestone-card.unlocked .milestone-icon {
  opacity: 1;
}

.milestone-count {
  font-size: 1.2rem;
  font-weight: 700;
  color: #495057;
  margin: 0;
}

.milestone-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin: 0 0 5px 0;
}

.milestone-description {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.3;
}

.recent-users {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.recent-users h3 {
  font-size: 1.1rem;
  color: #495057;
  margin: 0 0 10px 0;
  text-align: center;
}

.recent-users-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.recent-user {
  background: linear-gradient(145deg, #e9ecef, #dee2e6);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #495057;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
  .sidebar {
    width: 300px;
  }
  #greeting-text {
    font-size: 2.2rem;
  }
  .featured-projects h2 {
    font-size: 1.6rem;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 992px) {
  .layout-wrapper {
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: 0;
  }
  .layout-wrapper > .sidebar { /* Increased specificity */
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 10px 20px !important;
    box-sizing: border-box;
  }
  .logo {
    margin-bottom: 0;
  }
  .nav-buttons {
    flex-direction: row !important;
    width: auto !important;
    gap: 8px !important;
    align-items: center;
  }
  .nav-btn {
    padding: 10px 15px !important;
    font-size: 1rem !important;
    white-space: nowrap;
  }
  .nav-auth-buttons {
    display: contents;
  }
  .container {
    width: 100%;
    min-height: auto;
    border-radius: 0;
    margin: 0;
  }
  .main-content {
    padding: 20px;
  }
}

/* Phone Portrait */
@media (max-width: 768px) and (orientation: portrait) {
  .layout-wrapper > .sidebar { /* Increased specificity */
    display: none !important;
  }
  .mobile-toolbar {
    display: flex;
  }
  .container {
    padding-bottom: 80px; /* Space for toolbar */
  }
}

/* Phone Landscape (behaves like desktop) */
@media (max-height: 500px) and (orientation: landscape) {
  .layout-wrapper {
    flex-direction: row;
  }
  .layout-wrapper > .sidebar { /* Increased specificity */
    display: flex !important;
    width: 300px !important;
    height: 95vh !important;
  }
  .nav-buttons {
    flex-direction: column !important;
    width: 80% !important;
  }
  .nav-auth-buttons {
    display: flex !important;
    flex-direction: row !important;
  }
  .mobile-toolbar {
    display: none !important;
  }
  .container {
      height: 95vh !important;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 15px;
  }
  #greeting-text {
    font-size: 1.5rem;
  }
  .featured-projects h2 {
    font-size: 1.3rem;
  }
  .projects-grid {
    gap: 15px;
  }
  
  /* Mobile Home Page Layout - Skeuomorphic */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .hero-section {
    padding: 18px;
    margin-bottom: 20px;
  }
  
  .greeting-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .dashboard-card {
    padding: 18px;
  }
  
  .card-header h2 {
    font-size: 1.2rem;
  }
  
  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .quick-action-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 18px;
    gap: 14px;
  }
  
  .quick-action-icon {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
  
  .video-embed {
    border-radius: 10px;
  }
}

.aeros-display {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
} 

/* Performance optimizations for inactive tabs */
:root {
    --animation-reduced: false;
}

/* Performance-based animation reduction */
:root {
    --animation-reduced: false;
    --performance-mode: normal;
    --mobile-optimized: false;
    --battery-saver: false;
}

/* Reduce animations when tab is inactive or performance is low */
body[style*="--animation-reduced: true"] *,
.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Performance mode optimizations */
[style*="--performance-mode: reduced"] * {
    animation-duration: 2s !important;
    transition-duration: 0.3s !important;
}

[style*="--performance-mode: minimal"] * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Mobile optimizations */
[style*="--mobile-optimized: true"] .particle,
[style*="--mobile-optimized: true"] .sparkle {
    display: none !important;
}

/* Keep VHS effect but optimize it for mobile */
[style*="--mobile-optimized: true"] .vhs-effect::before {
    animation: vhs-flicker 1s infinite; /* Slower on mobile for better performance */
}

/* Battery saver mode */
[style*="--battery-saver: true"] .sparkle,
[style*="--battery-saver: true"] .particle,
[style*="--battery-saver: true"] .shimmer {
    animation: none !important;
}

/* Simplify effects when performance is low */
.simplified-effects .vhs-effect::before {
    animation: vhs-flicker 2s infinite !important; /* Much slower but still visible */
}
.simplified-effects .vhs-effect::after {
    display: none !important;
}

/* Pause heavy animations when tab is hidden */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize for inactive tabs */
@media (display-mode: standalone) {
    /* Reduce background animations in PWA mode */
    .background-clouds {
        animation: none !important;
    }
} 

/* Aeros Display Styling */
.aeros-display {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.aeros-display #aeros-count {
    font-size: 16px;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
} 

/* --- Responsive & Mobile Layout --- */
.mobile-toolbar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden by default, shown in portrait mobile */
    gap: 10px;
    background: rgba(255,255,255,0.9);
    border: 2px solid #bbb;
    border-radius: 14px;
    padding: 6px 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2), inset 0 1px 0 #fff;
    z-index: 1000;
}

.mobile-toolbar .mt-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #e9ecef);
    border: 1px solid #b0b0b0;
    color: #333;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), inset 0 1px 0 #fff;
}

/* ============================================ */
/* UNIVERSAL SIDEBAR & CONTAINER STANDARDIZATION */
/* ============================================ */
/* ⚠️ IMPORTANT: These rules apply to ALL pages */
/* DO NOT override these in page-specific CSS files */
/* All pages MUST have identical sidebar/container sizing */
/* ============================================ */

/* Sidebar - Standard for all pages */
.layout-wrapper > .sidebar,
.layout-wrapper > aside.sidebar,
aside.sidebar,
.profile .sidebar,
body > .layout-wrapper > .sidebar {
  width: 400px !important;
  background: url('Sidebar.png') center center / 100% 100% no-repeat !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border: none !important;
  height: 88vh !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 88vh !important;
  min-height: 88vh !important;
  box-sizing: border-box !important;
}

/* Skeuomorphic theme overrides for all sidebar instances - Each theme has its own specific rules below */

/* Container - Standard for all pages */
.layout-wrapper > .container,
.container,
.profile .container,
body > .layout-wrapper > .container {
  margin: 20px !important;
  flex-grow: 1 !important;
  padding: 20px !important;
  background: url('Page.png') center center / 100% 100% no-repeat !important;
  border: none !important;
  height: 90vh !important;
  max-height: 90vh !important;
  min-height: 90vh !important;
  display: flex !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

/* Skeuomorphic theme overrides for all container instances - Each theme has its own specific rules below */

/* Layout wrapper - Standard for all pages */
.layout-wrapper,
body > .layout-wrapper,
.profile .layout-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  max-width: 1800px !important;
  width: 90vw !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ============================================ */
/* END UNIVERSAL STANDARDIZATION */
/* ============================================ */

/* Main content inside containers */
.main-content {
  flex: 1 !important;
  padding: 30px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

/* Sidebar nav buttons */
.layout-wrapper > .sidebar .nav-buttons {
  width: 65% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  padding-bottom: 40px !important;
  margin-bottom: 20px !important;
  flex-shrink: 0 !important;
}

/* Logo inside sidebar - BIGGER SIZE */
.sidebar .logo {
  flex-shrink: 0 !important;
  margin-bottom: 25px !important;
  margin-top: 10px !important;
}

.sidebar .logo .logo-text-img {
  height: 80px !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Hide scrollbar but keep scroll functionality */
.sidebar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Firefox - hide scrollbar */
.sidebar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Site Footer with Version */
.site-footer {
  position: fixed;
  bottom: 0;
  right: 20px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px 12px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  z-index: 100;
  font-family: 'Baloo 2', cursive;
}

.site-footer p {
  margin: 0;
}

#version-number {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* Home page now uses the same sidebar width as all pages */

/* Normalize sidebar button sizing across all pages */
.layout-wrapper > .sidebar .nav-buttons .nav-btn,
.layout-wrapper > .sidebar .nav-auth-buttons .nav-btn {
  padding: 10px 0 !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  height: auto !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* ============================================ */
/* SKEUOMORPHIC THEME SYSTEM - MAIN THEME BASE */
/* ============================================ */
/* This is the official main theme structure */
/* All color variations use this same structure */

/* Global button outline removal for all CSS-based themes (default: no border outline) */
.skeuomorphic-white-theme .nav-btn,
.skeuomorphic-white-theme .btn,
.skeuomorphic-white-theme button,
.skeuomorphic-white-theme .action-btn,
.skeuomorphic-white-theme .tab-btn,
.skeuomorphic-blue-theme .nav-btn,
.skeuomorphic-blue-theme .btn,
.skeuomorphic-blue-theme button,
.skeuomorphic-blue-theme .action-btn,
.skeuomorphic-blue-theme .tab-btn,
.skeuomorphic-green-theme .nav-btn,
.skeuomorphic-green-theme .btn,
.skeuomorphic-green-theme button,
.skeuomorphic-green-theme .action-btn,
.skeuomorphic-green-theme .tab-btn,
.skeuomorphic-purple-theme .nav-btn,
.skeuomorphic-purple-theme .btn,
.skeuomorphic-purple-theme button,
.skeuomorphic-purple-theme .action-btn,
.skeuomorphic-purple-theme .tab-btn,
.skeuomorphic-orange-theme .nav-btn,
.skeuomorphic-orange-theme .btn,
.skeuomorphic-orange-theme button,
.skeuomorphic-orange-theme .action-btn,
.skeuomorphic-orange-theme .tab-btn,
.skeuomorphic-pink-theme .nav-btn,
.skeuomorphic-pink-theme .btn,
.skeuomorphic-pink-theme button,
.skeuomorphic-pink-theme .action-btn,
.skeuomorphic-pink-theme .tab-btn,
.skeuomorphic-black-theme .nav-btn,
.skeuomorphic-black-theme .btn,
.skeuomorphic-black-theme button,
.skeuomorphic-black-theme .action-btn,
.skeuomorphic-black-theme .tab-btn,
.skeuomorphic-yellow-theme .nav-btn,
.skeuomorphic-yellow-theme .btn,
.skeuomorphic-yellow-theme button,
.skeuomorphic-yellow-theme .action-btn,
.skeuomorphic-yellow-theme .tab-btn,
.skeuomorphic-green-bg-theme .nav-btn,
.skeuomorphic-green-bg-theme .btn,
.skeuomorphic-green-bg-theme button,
.skeuomorphic-green-bg-theme .action-btn,
.skeuomorphic-green-bg-theme .tab-btn,
.skeuomorphic-blue-bg-theme .nav-btn,
.skeuomorphic-blue-bg-theme .btn,
.skeuomorphic-blue-bg-theme button,
.skeuomorphic-blue-bg-theme .action-btn,
.skeuomorphic-blue-bg-theme .tab-btn,
.skeuomorphic-red-theme .nav-btn,
.skeuomorphic-red-theme .btn,
.skeuomorphic-red-theme button,
.skeuomorphic-red-theme .action-btn,
.skeuomorphic-red-theme .tab-btn,
.skeuomorphic-dorfic-theme .nav-btn,
.skeuomorphic-dorfic-theme .btn,
.skeuomorphic-dorfic-theme button,
.skeuomorphic-dorfic-theme .action-btn,
.skeuomorphic-dorfic-theme .tab-btn,
.white-background-theme .nav-btn,
.white-background-theme .btn,
.white-background-theme button,
.white-background-theme .action-btn,
.white-background-theme .tab-btn {
  outline: none !important;
}

/* Base Skeuomorphic Theme Mixin - White (Original) */
.white-background-theme .sidebar,
.skeuomorphic-white-theme .sidebar,
.white-background-theme .layout-wrapper > .sidebar,
.white-background-theme .layout-wrapper > aside.sidebar,
.white-background-theme aside.sidebar,
.white-background-theme .profile .sidebar,
.white-background-theme body > .layout-wrapper > .sidebar,
.skeuomorphic-white-theme .layout-wrapper > .sidebar,
.skeuomorphic-white-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-white-theme aside.sidebar,
.skeuomorphic-white-theme .profile .sidebar,
.skeuomorphic-white-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8) !important;
  background-image: none !important;
  background-color: #f5f5f5 !important;
  border: 3px solid #d0d0d0 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(0,0,0,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.white-background-theme .container,
.skeuomorphic-white-theme .container,
.white-background-theme .layout-wrapper > .container,
.white-background-theme .profile .container,
.white-background-theme body > .layout-wrapper > .container,
.skeuomorphic-white-theme .layout-wrapper > .container,
.skeuomorphic-white-theme .profile .container,
.skeuomorphic-white-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8) !important;
  background-image: none !important;
  background-color: #f5f5f5 !important;
  border: 3px solid #d0d0d0 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(0,0,0,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* --- Skeuomorphic Theme - Buttons (White) --- */
.white-background-theme .sidebar .nav-btn,
.white-background-theme .nav-btn,
.skeuomorphic-white-theme .sidebar .nav-btn,
.skeuomorphic-white-theme .nav-btn {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0) !important;
  background-image: none !important;
  border: 3px solid #c8c8c8 !important;
  border-radius: 10px !important;
  color: #333333 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(0,0,0,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.white-background-theme .sidebar .nav-btn:hover,
.skeuomorphic-white-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #e8e8e8, #d8d8d8) !important;
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(0,0,0,0.15) !important;
  transform: translateY(-1px) !important;
}

.white-background-theme .sidebar .nav-btn.active,
.white-background-theme .nav-btn.active,
.skeuomorphic-white-theme .sidebar .nav-btn.active,
.skeuomorphic-white-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.white-background-theme .sidebar .nav-btn.active:hover,
.skeuomorphic-white-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.white-background-theme .sidebar .nav-btn:disabled,
.white-background-theme .nav-btn:disabled,
.white-background-theme .sidebar .nav-btn[disabled],
.white-background-theme .nav-btn[disabled],
.skeuomorphic-white-theme .sidebar .nav-btn:disabled,
.skeuomorphic-white-theme .nav-btn:disabled,
.skeuomorphic-white-theme .sidebar .nav-btn[disabled],
.skeuomorphic-white-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.white-background-theme .sidebar .nav-btn:disabled:hover,
.white-background-theme .nav-btn:disabled:hover,
.white-background-theme .sidebar .nav-btn[disabled]:hover,
.white-background-theme .nav-btn[disabled]:hover,
.skeuomorphic-white-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-white-theme .nav-btn:disabled:hover,
.skeuomorphic-white-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-white-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* ============================================ */
/* SKEUOMORPHIC THEME VARIATIONS - COLOR THEMES */
/* ============================================ */

/* --- Blue Skeuomorphic Theme --- */
.skeuomorphic-blue-theme .sidebar,
.skeuomorphic-blue-theme .layout-wrapper > .sidebar,
.skeuomorphic-blue-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-blue-theme aside.sidebar,
.skeuomorphic-blue-theme .profile .sidebar,
.skeuomorphic-blue-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #e3f2fd, #bbdefb) !important;
  background-image: none !important;
  background-color: #e3f2fd !important;
  border: 3px solid #90caf9 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(33,150,243,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(33,150,243,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-blue-theme .container,
.skeuomorphic-blue-theme .layout-wrapper > .container,
.skeuomorphic-blue-theme .profile .container,
.skeuomorphic-blue-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #e3f2fd, #bbdefb) !important;
  background-image: none !important;
  background-color: #e3f2fd !important;
  border: 3px solid #90caf9 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(33,150,243,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(33,150,243,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-blue-theme .sidebar .nav-btn,
.skeuomorphic-blue-theme .nav-btn {
  background: linear-gradient(145deg, #e1f5fe, #b3e5fc) !important;
  background-image: none !important;
  border: 3px solid #81d4fa !important;
  border-radius: 10px !important;
  color: #0277bd !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(33,150,243,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(33,150,243,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-blue-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #b3e5fc, #81d4fa) !important;
  box-shadow: 
    0 6px 12px rgba(33,150,243,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(33,150,243,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-blue-theme .sidebar .nav-btn.active,
.skeuomorphic-blue-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-blue-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-blue-theme .sidebar .nav-btn:disabled,
.skeuomorphic-blue-theme .nav-btn:disabled,
.skeuomorphic-blue-theme .sidebar .nav-btn[disabled],
.skeuomorphic-blue-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-blue-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-blue-theme .nav-btn:disabled:hover,
.skeuomorphic-blue-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-blue-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Green Skeuomorphic Theme --- */
.skeuomorphic-green-theme .sidebar,
.skeuomorphic-green-theme .layout-wrapper > .sidebar,
.skeuomorphic-green-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-green-theme aside.sidebar,
.skeuomorphic-green-theme .profile .sidebar,
.skeuomorphic-green-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9) !important;
  background-image: none !important;
  background-color: #e8f5e9 !important;
  border: 3px solid #a5d6a7 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(76,175,80,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(76,175,80,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-green-theme .container,
.skeuomorphic-green-theme .layout-wrapper > .container,
.skeuomorphic-green-theme .profile .container,
.skeuomorphic-green-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9) !important;
  background-image: none !important;
  background-color: #e8f5e9 !important;
  border: 3px solid #a5d6a7 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(76,175,80,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(76,175,80,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-green-theme .sidebar .nav-btn,
.skeuomorphic-green-theme .nav-btn {
  background: linear-gradient(145deg, #f1f8e9, #dcedc8) !important;
  background-image: none !important;
  border: 3px solid #9ccc65 !important;
  border-radius: 10px !important;
  color: #2e7d32 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(76,175,80,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(76,175,80,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-green-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #dcedc8, #c5e1a5) !important;
  box-shadow: 
    0 6px 12px rgba(76,175,80,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(76,175,80,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-green-theme .sidebar .nav-btn.active,
.skeuomorphic-green-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-green-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-green-theme .sidebar .nav-btn:disabled,
.skeuomorphic-green-theme .nav-btn:disabled,
.skeuomorphic-green-theme .sidebar .nav-btn[disabled],
.skeuomorphic-green-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-green-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-green-theme .nav-btn:disabled:hover,
.skeuomorphic-green-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-green-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Purple Skeuomorphic Theme --- */
.skeuomorphic-purple-theme .sidebar,
.skeuomorphic-purple-theme .layout-wrapper > .sidebar,
.skeuomorphic-purple-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-purple-theme aside.sidebar,
.skeuomorphic-purple-theme .profile .sidebar,
.skeuomorphic-purple-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #f3e5f5, #e1bee7) !important;
  background-image: none !important;
  background-color: #f3e5f5 !important;
  border: 3px solid #ce93d8 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(156,39,176,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(156,39,176,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-purple-theme .container,
.skeuomorphic-purple-theme .layout-wrapper > .container,
.skeuomorphic-purple-theme .profile .container,
.skeuomorphic-purple-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #f3e5f5, #e1bee7) !important;
  background-image: none !important;
  background-color: #f3e5f5 !important;
  border: 3px solid #ce93d8 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(156,39,176,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(156,39,176,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-purple-theme .sidebar .nav-btn,
.skeuomorphic-purple-theme .nav-btn {
  background: linear-gradient(145deg, #fce4ec, #f8bbd0) !important;
  background-image: none !important;
  border: 3px solid #f48fb1 !important;
  border-radius: 10px !important;
  color: #880e4f !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(156,39,176,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(156,39,176,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-purple-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #f8bbd0, #f48fb1) !important;
  box-shadow: 
    0 6px 12px rgba(156,39,176,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(156,39,176,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-purple-theme .sidebar .nav-btn.active,
.skeuomorphic-purple-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-purple-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-purple-theme .sidebar .nav-btn:disabled,
.skeuomorphic-purple-theme .nav-btn:disabled,
.skeuomorphic-purple-theme .sidebar .nav-btn[disabled],
.skeuomorphic-purple-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-purple-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-purple-theme .nav-btn:disabled:hover,
.skeuomorphic-purple-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-purple-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Orange Skeuomorphic Theme --- */
.skeuomorphic-orange-theme .sidebar,
.skeuomorphic-orange-theme .layout-wrapper > .sidebar,
.skeuomorphic-orange-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-orange-theme aside.sidebar,
.skeuomorphic-orange-theme .profile .sidebar,
.skeuomorphic-orange-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #fff3e0, #ffe0b2) !important;
  background-image: none !important;
  background-color: #fff3e0 !important;
  border: 3px solid #ffcc80 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(255,152,0,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(255,152,0,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-orange-theme .container,
.skeuomorphic-orange-theme .layout-wrapper > .container,
.skeuomorphic-orange-theme .profile .container,
.skeuomorphic-orange-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #fff3e0, #ffe0b2) !important;
  background-image: none !important;
  background-color: #fff3e0 !important;
  border: 3px solid #ffcc80 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(255,152,0,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(255,152,0,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-orange-theme .sidebar .nav-btn,
.skeuomorphic-orange-theme .nav-btn {
  background: linear-gradient(145deg, #fff8e1, #ffecb3) !important;
  background-image: none !important;
  border: 3px solid #ffe082 !important;
  border-radius: 10px !important;
  color: #e65100 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(255,152,0,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(255,152,0,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-orange-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #ffecb3, #ffe082) !important;
  box-shadow: 
    0 6px 12px rgba(255,152,0,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(255,152,0,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-orange-theme .sidebar .nav-btn.active,
.skeuomorphic-orange-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-orange-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-orange-theme .sidebar .nav-btn:disabled,
.skeuomorphic-orange-theme .nav-btn:disabled,
.skeuomorphic-orange-theme .sidebar .nav-btn[disabled],
.skeuomorphic-orange-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-orange-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-orange-theme .nav-btn:disabled:hover,
.skeuomorphic-orange-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-orange-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Pink Skeuomorphic Theme --- */
.skeuomorphic-pink-theme .sidebar,
.skeuomorphic-pink-theme .layout-wrapper > .sidebar,
.skeuomorphic-pink-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-pink-theme aside.sidebar,
.skeuomorphic-pink-theme .profile .sidebar,
.skeuomorphic-pink-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #fce4ec, #f8bbd0) !important;
  background-image: none !important;
  background-color: #fce4ec !important;
  border: 3px solid #f48fb1 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(236,64,122,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(236,64,122,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-pink-theme .container,
.skeuomorphic-pink-theme .layout-wrapper > .container,
.skeuomorphic-pink-theme .profile .container,
.skeuomorphic-pink-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #fce4ec, #f8bbd0) !important;
  background-image: none !important;
  background-color: #fce4ec !important;
  border: 3px solid #f48fb1 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(236,64,122,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(236,64,122,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-pink-theme .sidebar .nav-btn,
.skeuomorphic-pink-theme .nav-btn {
  background: linear-gradient(145deg, #f8bbd0, #f48fb1) !important;
  background-image: none !important;
  border: 3px solid #f06292 !important;
  border-radius: 10px !important;
  color: #880e4f !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(236,64,122,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(236,64,122,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-pink-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #f48fb1, #f06292) !important;
  box-shadow: 
    0 6px 12px rgba(236,64,122,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(236,64,122,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-pink-theme .sidebar .nav-btn.active,
.skeuomorphic-pink-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-pink-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-pink-theme .sidebar .nav-btn:disabled,
.skeuomorphic-pink-theme .nav-btn:disabled,
.skeuomorphic-pink-theme .sidebar .nav-btn[disabled],
.skeuomorphic-pink-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-pink-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-pink-theme .nav-btn:disabled:hover,
.skeuomorphic-pink-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-pink-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Black Skeuomorphic Theme --- */
.skeuomorphic-black-theme .sidebar,
.skeuomorphic-black-theme .layout-wrapper > .sidebar,
.skeuomorphic-black-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-black-theme aside.sidebar,
.skeuomorphic-black-theme .profile .sidebar,
.skeuomorphic-black-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #ffffff, #f5f5f5) !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border: 3px solid #d0d0d0 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.15),
    inset 0 4px 8px rgba(255,255,255,0.8),
    inset 0 -4px 8px rgba(0,0,0,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  color: #000000 !important;
}

.skeuomorphic-black-theme .container,
.skeuomorphic-black-theme .layout-wrapper > .container,
.skeuomorphic-black-theme .profile .container,
.skeuomorphic-black-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #ffffff, #f5f5f5) !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border: 3px solid #d0d0d0 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.15),
    inset 0 4px 8px rgba(255,255,255,0.8),
    inset 0 -4px 8px rgba(0,0,0,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Black theme text colors - set base text color to black for sidebar/container content */
/* Elements with their own colors (buttons, links, etc.) will override this */
.skeuomorphic-black-theme .sidebar {
  color: #000000 !important;
}

.skeuomorphic-black-theme .container {
  color: #000000 !important;
}

.skeuomorphic-black-theme .sidebar .nav-btn,
.skeuomorphic-black-theme .nav-btn {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0) !important;
  background-image: none !important;
  border: 3px solid #d0d0d0 !important;
  border-radius: 10px !important;
  color: #000000 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -2px 4px rgba(0,0,0,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-black-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #e8e8e8, #d8d8d8) !important;
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.9),
    inset 0 -2px 4px rgba(0,0,0,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-black-theme .sidebar .nav-btn.active,
.skeuomorphic-black-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-black-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-black-theme .sidebar .nav-btn:disabled,
.skeuomorphic-black-theme .nav-btn:disabled,
.skeuomorphic-black-theme .sidebar .nav-btn[disabled],
.skeuomorphic-black-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #d0d0d0, #c0c0c0) !important;
  border: 3px solid #b0b0b0 !important;
  color: #666666 !important;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.6),
    inset 0 -2px 4px rgba(0,0,0,0.1) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-black-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-black-theme .nav-btn:disabled:hover,
.skeuomorphic-black-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-black-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Yellow Skeuomorphic Theme --- */
.skeuomorphic-yellow-theme .sidebar,
.skeuomorphic-yellow-theme .layout-wrapper > .sidebar,
.skeuomorphic-yellow-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-yellow-theme aside.sidebar,
.skeuomorphic-yellow-theme .profile .sidebar,
.skeuomorphic-yellow-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #fff9c4, #fff59d) !important;
  background-image: none !important;
  background-color: #fff9c4 !important;
  border: 3px solid #fdd835 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(255,193,7,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(255,193,7,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-yellow-theme .container,
.skeuomorphic-yellow-theme .layout-wrapper > .container,
.skeuomorphic-yellow-theme .profile .container,
.skeuomorphic-yellow-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #fff9c4, #fff59d) !important;
  background-image: none !important;
  background-color: #fff9c4 !important;
  border: 3px solid #fdd835 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(255,193,7,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(255,193,7,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-yellow-theme .sidebar .nav-btn,
.skeuomorphic-yellow-theme .nav-btn {
  background: linear-gradient(145deg, #fffde7, #fff9c4) !important;
  background-image: none !important;
  border: 3px solid #fff59d !important;
  border-radius: 10px !important;
  color: #f57f17 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(255,193,7,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(255,193,7,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-yellow-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #fff9c4, #fff59d) !important;
  box-shadow: 
    0 6px 12px rgba(255,193,7,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(255,193,7,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-yellow-theme .sidebar .nav-btn.active,
.skeuomorphic-yellow-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-yellow-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-yellow-theme .sidebar .nav-btn:disabled,
.skeuomorphic-yellow-theme .nav-btn:disabled,
.skeuomorphic-yellow-theme .sidebar .nav-btn[disabled],
.skeuomorphic-yellow-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-yellow-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-yellow-theme .nav-btn:disabled:hover,
.skeuomorphic-yellow-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-yellow-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Green Background Skeuomorphic Theme --- */
.skeuomorphic-green-bg-theme .sidebar,
.skeuomorphic-green-bg-theme .layout-wrapper > .sidebar,
.skeuomorphic-green-bg-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-green-bg-theme aside.sidebar,
.skeuomorphic-green-bg-theme .profile .sidebar,
.skeuomorphic-green-bg-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #c8e6c9, #a5d6a7) !important;
  background-image: none !important;
  background-color: #c8e6c9 !important;
  border: 3px solid #81c784 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(76,175,80,0.2),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(76,175,80,0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-green-bg-theme .container,
.skeuomorphic-green-bg-theme .layout-wrapper > .container,
.skeuomorphic-green-bg-theme .profile .container,
.skeuomorphic-green-bg-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #c8e6c9, #a5d6a7) !important;
  background-image: none !important;
  background-color: #c8e6c9 !important;
  border: 3px solid #81c784 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(76,175,80,0.2),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(76,175,80,0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-green-bg-theme .sidebar .nav-btn,
.skeuomorphic-green-bg-theme .nav-btn {
  background: linear-gradient(145deg, #dcedc8, #c5e1a5) !important;
  background-image: none !important;
  border: 3px solid #aed581 !important;
  border-radius: 10px !important;
  color: #1b5e20 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(76,175,80,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(76,175,80,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-green-bg-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #c5e1a5, #aed581) !important;
  box-shadow: 
    0 6px 12px rgba(76,175,80,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(76,175,80,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-green-bg-theme .sidebar .nav-btn.active,
.skeuomorphic-green-bg-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-green-bg-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-green-bg-theme .sidebar .nav-btn:disabled,
.skeuomorphic-green-bg-theme .nav-btn:disabled,
.skeuomorphic-green-bg-theme .sidebar .nav-btn[disabled],
.skeuomorphic-green-bg-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-green-bg-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-green-bg-theme .nav-btn:disabled:hover,
.skeuomorphic-green-bg-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-green-bg-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Blue Background Skeuomorphic Theme --- */
.skeuomorphic-blue-bg-theme .sidebar,
.skeuomorphic-blue-bg-theme .layout-wrapper > .sidebar,
.skeuomorphic-blue-bg-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-blue-bg-theme aside.sidebar,
.skeuomorphic-blue-bg-theme .profile .sidebar,
.skeuomorphic-blue-bg-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #b3e5fc, #81d4fa) !important;
  background-image: none !important;
  background-color: #b3e5fc !important;
  border: 3px solid #4fc3f7 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(3,169,244,0.2),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(3,169,244,0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-blue-bg-theme .container,
.skeuomorphic-blue-bg-theme .layout-wrapper > .container,
.skeuomorphic-blue-bg-theme .profile .container,
.skeuomorphic-blue-bg-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #b3e5fc, #81d4fa) !important;
  background-image: none !important;
  background-color: #b3e5fc !important;
  border: 3px solid #4fc3f7 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(3,169,244,0.2),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(3,169,244,0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-blue-bg-theme .sidebar .nav-btn,
.skeuomorphic-blue-bg-theme .nav-btn {
  background: linear-gradient(145deg, #b3e5fc, #81d4fa) !important;
  background-image: none !important;
  border: 3px solid #29b6f6 !important;
  border-radius: 10px !important;
  color: #01579b !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(3,169,244,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(3,169,244,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-blue-bg-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #81d4fa, #4fc3f7) !important;
  box-shadow: 
    0 6px 12px rgba(3,169,244,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(3,169,244,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-blue-bg-theme .sidebar .nav-btn.active,
.skeuomorphic-blue-bg-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-blue-bg-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-blue-bg-theme .sidebar .nav-btn:disabled,
.skeuomorphic-blue-bg-theme .nav-btn:disabled,
.skeuomorphic-blue-bg-theme .sidebar .nav-btn[disabled],
.skeuomorphic-blue-bg-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-blue-bg-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-blue-bg-theme .nav-btn:disabled:hover,
.skeuomorphic-blue-bg-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-blue-bg-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Red Skeuomorphic Theme --- */
.skeuomorphic-red-theme .sidebar,
.skeuomorphic-red-theme .layout-wrapper > .sidebar,
.skeuomorphic-red-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-red-theme aside.sidebar,
.skeuomorphic-red-theme .profile .sidebar,
.skeuomorphic-red-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #ffcdd2, #ef9a9a) !important;
  background-image: none !important;
  background-color: #ffcdd2 !important;
  border: 3px solid #e57373 !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(244,67,54,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(244,67,54,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-red-theme .container,
.skeuomorphic-red-theme .layout-wrapper > .container,
.skeuomorphic-red-theme .profile .container,
.skeuomorphic-red-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #ffcdd2, #ef9a9a) !important;
  background-image: none !important;
  background-color: #ffcdd2 !important;
  border: 3px solid #e57373 !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(244,67,54,0.15),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(244,67,54,0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-red-theme .sidebar .nav-btn,
.skeuomorphic-red-theme .nav-btn {
  background: linear-gradient(145deg, #ffebee, #ffcdd2) !important;
  background-image: none !important;
  border: 3px solid #ef9a9a !important;
  border-radius: 10px !important;
  color: #b71c1c !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(244,67,54,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(244,67,54,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-red-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #ffcdd2, #ef9a9a) !important;
  box-shadow: 
    0 6px 12px rgba(244,67,54,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(244,67,54,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-red-theme .sidebar .nav-btn.active,
.skeuomorphic-red-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-red-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-red-theme .sidebar .nav-btn:disabled,
.skeuomorphic-red-theme .nav-btn:disabled,
.skeuomorphic-red-theme .sidebar .nav-btn[disabled],
.skeuomorphic-red-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-red-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-red-theme .nav-btn:disabled:hover,
.skeuomorphic-red-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-red-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Dorfic (Orange Pattern) Skeuomorphic Theme --- */
.skeuomorphic-dorfic-theme .sidebar,
.skeuomorphic-dorfic-theme .layout-wrapper > .sidebar,
.skeuomorphic-dorfic-theme .layout-wrapper > aside.sidebar,
.skeuomorphic-dorfic-theme aside.sidebar,
.skeuomorphic-dorfic-theme .profile .sidebar,
.skeuomorphic-dorfic-theme body > .layout-wrapper > .sidebar {
  background: linear-gradient(145deg, #ffe0b2, #ffcc80) !important;
  background-image: none !important;
  background-color: #ffe0b2 !important;
  border: 3px solid #ffb74d !important;
  border-radius: 24px !important;
  border-top-left-radius: 40px !important;
  border-bottom-left-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(255,152,0,0.2),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(255,152,0,0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-dorfic-theme .container,
.skeuomorphic-dorfic-theme .layout-wrapper > .container,
.skeuomorphic-dorfic-theme .profile .container,
.skeuomorphic-dorfic-theme body > .layout-wrapper > .container {
  background: linear-gradient(145deg, #ffe0b2, #ffcc80) !important;
  background-image: none !important;
  background-color: #ffe0b2 !important;
  border: 3px solid #ffb74d !important;
  border-radius: 24px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  box-shadow: 
    0 10px 20px rgba(255,152,0,0.2),
    inset 0 4px 8px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(255,152,0,0.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.skeuomorphic-dorfic-theme .sidebar .nav-btn,
.skeuomorphic-dorfic-theme .nav-btn {
  background: linear-gradient(145deg, #fff3e0, #ffe0b2) !important;
  background-image: none !important;
  border: 3px solid #ffcc80 !important;
  border-radius: 10px !important;
  color: #e65100 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
  box-shadow: 
    0 4px 8px rgba(255,152,0,0.15),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(255,152,0,0.1) !important;
  cursor: none !important;
  transition: all 0.2s ease !important;
}

.skeuomorphic-dorfic-theme .sidebar .nav-btn:hover {
  background: linear-gradient(145deg, #ffe0b2, #ffcc80) !important;
  box-shadow: 
    0 6px 12px rgba(255,152,0,0.2),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -2px 4px rgba(255,152,0,0.15) !important;
  transform: translateY(-1px) !important;
}

.skeuomorphic-dorfic-theme .sidebar .nav-btn.active,
.skeuomorphic-dorfic-theme .nav-btn.active {
  background: linear-gradient(145deg, #22c55e, #16a34a) !important;
  border: 3px solid #15803d !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 6px 12px rgba(34,197,94,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2) !important;
  transform: scale(1.02) !important;
}

.skeuomorphic-dorfic-theme .sidebar .nav-btn.active:hover {
  background: linear-gradient(145deg, #16a34a, #15803d) !important;
  box-shadow: 
    0 8px 16px rgba(34,197,94,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.25) !important;
  transform: scale(1.03) translateY(-1px) !important;
}

.skeuomorphic-dorfic-theme .sidebar .nav-btn:disabled,
.skeuomorphic-dorfic-theme .nav-btn:disabled,
.skeuomorphic-dorfic-theme .sidebar .nav-btn[disabled],
.skeuomorphic-dorfic-theme .nav-btn[disabled] {
  background: linear-gradient(145deg, #a0a0a0, #888888) !important;
  border: 3px solid #707070 !important;
  color: #555555 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
  cursor: none !important;
  opacity: 0.7 !important;
  transform: none !important;
}

.skeuomorphic-dorfic-theme .sidebar .nav-btn:disabled:hover,
.skeuomorphic-dorfic-theme .nav-btn:disabled:hover,
.skeuomorphic-dorfic-theme .sidebar .nav-btn[disabled]:hover,
.skeuomorphic-dorfic-theme .nav-btn[disabled]:hover {
  transform: none !important;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3) !important;
}

/* --- Liquid Glass Theme --- */
.liquid-glass-theme .sidebar {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 16px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -1px 0 rgba(0,0,0,0.08);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.liquid-glass-theme .container {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 16px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -1px 0 rgba(0,0,0,0.08);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

.liquid-glass-theme .sidebar .nav-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -1px 0 rgba(0,0,0,0.08);
  color: #0f172a !important;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
  border-radius: 12px;
  font-weight: 700;
}

.liquid-glass-theme .sidebar .nav-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255,255,255,0.8), inset 0 -1px 0 rgba(0,0,0,0.1);
}

/* ============================================ */
/* 120 FPS PERFORMANCE OPTIMIZATIONS */
/* ============================================ */

/* GPU Acceleration for all interactive elements */
.project-card,
.dashboard-card,
.announcement-card,
.announcement-preview-card,
.quick-action-btn,
.message,
.conversation-item,
.user-item,
.store-item,
.achievement-card {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* CSS Containment for layout isolation - prevents reflows */
.project-card,
.dashboard-card,
.announcement-card,
.announcement-preview-card,
.quick-action-btn,
.message,
.conversation-item,
.user-item,
.store-item {
  contain: layout style paint;
}

/* Optimize transitions - use transform and opacity only */
.project-card,
.dashboard-card,
.announcement-card,
.quick-action-btn {
  transition-property: transform, opacity, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.1s;
}

/* Force hardware acceleration on scroll containers */
.sidebar,
.container,
.main-content,
.projects-grid,
.users-grid,
.announcements-preview {
  transform: translateZ(0);
  will-change: scroll-position;
}

/* Reduce repaints with content-visibility for off-screen elements */
.projects-grid > *,
.users-grid > *,
.announcements-preview > * {
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
}

/* Optimize hover effects - use transform instead of position changes */
.project-card:hover,
.dashboard-card:hover,
.announcement-card:hover,
.quick-action-btn:hover {
  transform: translateY(-2px) translateZ(0);
  transition-duration: 0.1s;
}

/* Optimize image rendering */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: optimize-contrast;
}

/* Optimize background images */
.background-clouds {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize custom cursor */
.custom-cursor {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize VHS effects */
.vhs-effect,
.vhs-effect::before,
.vhs-effect::after {
  will-change: opacity, transform;
  transform: translateZ(0);
}

/* Optimize parallax elements */
.parallax,
.background-clouds {
  will-change: transform;
  transform: translateZ(0);
}

/* Reduce layout shifts */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optimize scrolling */
* {
  -webkit-overflow-scrolling: touch;
}

/* Optimize button interactions */
button,
.nav-btn,
.action-btn,
.quick-action-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Optimize form elements */
input,
textarea,
select {
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Optimize animations - prefer transform and opacity */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px) translateZ(0);
  }
  to { 
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

/* Use GPU-accelerated animations */
.fade-in {
  animation: fadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.slide-up {
  animation: slideUp 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

