/* MUI Dark Theme Overrides */

/* MUI Tabs Dark Theme */
.MuiTabs-root {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 12px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.MuiTab-root {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 600 !important;
  font-family: "Inter", "Poppins", sans-serif !important;
  font-size: 1rem !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  padding: 12px 24px !important;
  min-height: 48px !important;
}

.MuiTab-root:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.MuiTab-root.Mui-selected {
  color: #667eea !important;
  font-weight: 700 !important;
  background: rgba(102, 126, 234, 0.1) !important;
}

.MuiTabs-indicator {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  height: 3px !important;
  border-radius: 2px !important;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4) !important;
}

/* MUI Box Dark Theme */
.MuiBox-root {
  background: transparent !important;
}

/* Logout Button Dark Theme - Enhanced */
.logout-btn-dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 100px !important;
  font-family: "Inter", "Poppins", sans-serif !important;
}

.logout-btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.logout-btn-dark:hover::before {
  left: 100%;
}

.logout-btn-dark:hover {
  background: linear-gradient(135deg, #0f0f23 0%, #0d1929 100%) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px) !important;
}

.logout-btn-dark:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Global dark theme adjustments */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.6) rgba(255, 255, 255, 0.1);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.6);
  border-radius: 4px;
  transition: background 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.8);
}

/* Dark theme for any remaining light elements */
.MuiTypography-root {
  color: #ffffff !important;
}

.MuiPaper-root {
  background-color: rgba(26, 26, 26, 0.95) !important;
  color: #ffffff !important;
}

/* Additional dark theme support for common elements */
input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

select option {
  background-color: rgba(26, 26, 26, 0.95) !important;
  color: #ffffff !important;
}
