/**
 * Portal Sidebar Styles - Hover-to-Preview Version
 * Collapsed by default, expands on hover to show labels
 */

:root {
  --sidebar-width: 200px;
  --sidebar-width-collapsed: 64px;
  --sidebar-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --subtopbar-height: 40px;
}

/* ============================================================================
   SIDEBAR CONTAINER
   ============================================================================ */

.portal-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width-collapsed);
  height: 100vh;
  /* Theme-aware sidebar background */
  background: var(--sidebar-bg);
  /* NO border - completely removed */
  border: none !important;
  border-right: none !important;
  /* Subtle shadow casting to the right - separates from content */
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.06), 2px 0 6px rgba(0, 0, 0, 0.04);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  transition: width var(--sidebar-transition), background 0.3s ease, box-shadow 0.3s ease;
  overflow: visible; /* Allow toggle button to extend outside */
}

/* Dark mode sidebar shadow - refined for modern dark theme */
html.dark .portal-sidebar {
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25), 2px 0 10px rgba(0, 0, 0, 0.15);
}

/* Prevent sidebar content from overflowing horizontally */
.portal-sidebar > * {
  max-width: 100%;
}

/* Expanded State (Click Toggle) */
body[data-sidebar-expanded="true"] .portal-sidebar {
  width: var(--sidebar-width);
}

/* ============================================================================
   HEADER & LOGO
   ============================================================================ */

.portal-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  min-height: 80px;
  flex-shrink: 0;
}

.portal-sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--sidebar-text);
  transition: all var(--sidebar-transition);
}

.portal-sidebar-logo img {
  flex-shrink: 0;
  transition: all var(--sidebar-transition);
}

/* Light mode: subtle shadow */
.portal-sidebar-logo img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.portal-sidebar-logo img:hover {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Dark mode: white glow */
html.dark .portal-sidebar-logo img {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5))
          drop-shadow(0 0 16px rgba(255, 255, 255, 0.3));
}

html.dark .portal-sidebar-logo img:hover {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

/* ============================================================================
   FACILITY SELECTOR
   ============================================================================ */

.portal-sidebar-facility {
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  overflow: hidden; /* Prevent content from extending past sidebar */
  max-width: 100%;
}

body[data-sidebar-expanded="true"] .portal-sidebar-facility {
  justify-content: flex-start;
}

/* Ensure facility selector button stays within sidebar bounds */
.portal-sidebar-facility > div {
  max-width: 100%;
  overflow: hidden;
}

.portal-sidebar-facility button {
  max-width: 100%;
  overflow: hidden;
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

.portal-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 8px;
  min-height: 0; /* Enable flex shrinking */
}

/* Hide scrollbar but keep functionality */
.portal-sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.portal-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.portal-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.portal-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================================================
   NAV ITEMS - COLLAPSED STATE (DEFAULT) - Chiclet Style
   ============================================================================ */

.portal-sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: center; /* Center icon when collapsed */
  gap: 0; /* No gap when collapsed */
  padding: 12px 8px;
  margin: 4px 0;
  border-radius: 10px;
  color: var(--sidebar-text);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  /* Light mode chiclet base */
  background: transparent;
  border: 1px solid transparent;
}

/* Light mode hover - chiclet lift effect */
.portal-sidebar-nav-item:hover {
  background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(219,234,254,0.7) 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15),
              0 2px 4px rgba(0, 0, 0, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

/* Light mode active - solid chiclet */
.portal-sidebar-nav-item.active {
  background: linear-gradient(to bottom, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

/* Dark mode nav items - Clean slate matching topbar buttons */
html.dark .portal-sidebar-nav-item {
  background: transparent;
  border-color: transparent;
  color: #f1f5f9;                  /* Slate-100 */
}

html.dark .portal-sidebar-nav-item:hover {
  background: #334155;             /* Slate-700 - solid, matches topbar buttons */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

html.dark .portal-sidebar-nav-item.active {
  background: linear-gradient(to bottom, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: transparent;
}

/* iDogCam Brand Light Mode - Sidebar Nav Items */
html[data-brand="idogcam"] .portal-sidebar-nav-item {
  color: #1b2e5e;
}

html[data-brand="idogcam"] .portal-sidebar-nav-item:hover {
  background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(200,220,242,0.7) 100%);
  box-shadow: 0 4px 12px rgba(90, 156, 212, 0.15),
              0 2px 4px rgba(0, 0, 0, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(160, 196, 232, 0.2);
}

html[data-brand="idogcam"] .portal-sidebar-nav-item.active {
  background: linear-gradient(to bottom, #5a9cd4 0%, #3a7cb8 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(58, 124, 184, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* iDogCam Brand Dark Mode - Sidebar Nav Items */
html[data-brand="idogcam"].dark .portal-sidebar-nav-item,
html.dark[data-brand="idogcam"] .portal-sidebar-nav-item {
  color: #f0f7fc;
}

html[data-brand="idogcam"].dark .portal-sidebar-nav-item:hover,
html.dark[data-brand="idogcam"] .portal-sidebar-nav-item:hover {
  background: #2c5a8f;             /* Solid blue-slate - matches topbar */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(160, 196, 232, 0.1);
  transform: translateY(-1px);
}

html[data-brand="idogcam"].dark .portal-sidebar-nav-item.active,
html.dark[data-brand="idogcam"] .portal-sidebar-nav-item.active {
  background: linear-gradient(to bottom, #a0c4e8 0%, #7fb0de 100%);
  color: #1a365d;
  box-shadow: 0 4px 12px rgba(160, 196, 232, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Nav Icon */
.portal-sidebar-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-sidebar-nav-icon svg {
  width: 20px;
  height: 20px;
  color: currentColor;
}

/* Nav Text - Hidden when collapsed */
.portal-sidebar-nav-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-width 0.3s ease;
}

/* Expanded State - Show Text and align left */
body[data-sidebar-expanded="true"] .portal-sidebar-nav-item {
  justify-content: flex-start;
  gap: 12px;
  padding: 12px;
}

body[data-sidebar-expanded="true"] .portal-sidebar-nav-text {
  opacity: 1;
  max-width: 150px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.portal-sidebar-footer {
  padding: 16px;
  flex-shrink: 0;
}

/* ============================================================================
   TOPBAR
   ============================================================================ */

.portal-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width-collapsed);
  height: 56px;
  z-index: 1002;
  transition: left var(--sidebar-transition);
  /* Subtle shadow casting downward - separates from content */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Dark mode topbar shadow - refined for modern dark theme */
html.dark .portal-topbar {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 2px 10px rgba(0, 0, 0, 0.12);
}

body[data-sidebar-expanded="true"] .portal-topbar {
  left: var(--sidebar-width);
}

/* TopBar Navigation Items (module links in center) - Chiclet Style */
.topbar-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* Light mode styles - clean white chiclet button */
  color: #1e40af;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08),
              0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.topbar-nav-item:hover {
  color: #1e40af;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15),
              0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
}

.topbar-nav-item.active {
  color: white;
  background: linear-gradient(to bottom, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35),
              0 2px 4px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: transparent;
  transform: translateY(0);
}

/* Dark mode topbar nav items - Clean slate style matching light mode elegance */
html.dark .topbar-nav-item {
  color: #f1f5f9;                  /* Slate-100 */
  background: #334155;             /* Slate-700 - solid, clean base */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

html.dark .topbar-nav-item:hover {
  color: #ffffff;
  background: #475569;             /* Slate-600 - lighter on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark .topbar-nav-item.active {
  color: #ffffff;
  background: linear-gradient(to bottom, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: transparent;
  transform: translateY(0);
}

/* iDogCam Brand Light Mode - TopBar Nav Items */
html[data-brand="idogcam"] .topbar-nav-item {
  color: #1b2e5e;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08),
              0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(160, 196, 232, 0.15);
}

html[data-brand="idogcam"] .topbar-nav-item:hover {
  color: #1b2e5e;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(90, 156, 212, 0.15),
              0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(160, 196, 232, 0.3);
}

html[data-brand="idogcam"] .topbar-nav-item.active {
  color: white;
  background: linear-gradient(to bottom, #5a9cd4 0%, #3a7cb8 100%);
  box-shadow: 0 4px 12px rgba(58, 124, 184, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: transparent;
  transform: translateY(0);
}

/* iDogCam Brand Dark Mode - TopBar Nav Items */
html[data-brand="idogcam"].dark .topbar-nav-item,
html.dark[data-brand="idogcam"] .topbar-nav-item {
  color: #f0f7fc;
  background: #2c5a8f;             /* Solid blue-slate base */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(160, 196, 232, 0.08);
}

html[data-brand="idogcam"].dark .topbar-nav-item:hover,
html.dark[data-brand="idogcam"] .topbar-nav-item:hover {
  color: #ffffff;
  background: #3a7cb8;             /* Lighter on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  border-color: rgba(160, 196, 232, 0.15);
}

html[data-brand="idogcam"].dark .topbar-nav-item.active,
html.dark[data-brand="idogcam"] .topbar-nav-item.active {
  color: #1a365d;
  background: linear-gradient(to bottom, #a0c4e8 0%, #7fb0de 100%);
  box-shadow: 0 4px 16px rgba(160, 196, 232, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: transparent;
  transform: translateY(0);
}

.topbar-nav-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================================
   SUB-TOPBAR (Module Navigation)
   ============================================================================ */

.portal-subtopbar {
  position: fixed;
  top: 56px;
  right: 0;
  left: var(--sidebar-width-collapsed);
  height: var(--subtopbar-height);
  /* Light mode: light gray background */
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align items to the right */
  padding: 0 16px;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  transition: left var(--sidebar-transition), background 0.3s ease, border-color 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

/* Dark mode SubTopBar - Modern Slate palette */
html.dark .portal-subtopbar {
  background: #1e293b;                /* Slate-800 - matches sidebar/topbar */
  border-bottom-color: #334155;       /* Slate-700 */
}

body[data-sidebar-expanded="true"] .portal-subtopbar {
  left: var(--sidebar-width);
}

/* Hide scrollbar on desktop */
.portal-subtopbar::-webkit-scrollbar {
  height: 0;
  display: none;
}

/* Sub-nav items - Theme-aware */
.portal-subtopbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  /* Light mode styles - light blue accent */
  color: #64748b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.portal-subtopbar-item:hover {
  color: #1e40af;
  background: rgba(59, 130, 246, 0.08);
}

.portal-subtopbar-item.active {
  color: #1e40af;
  background: rgba(59, 130, 246, 0.15);
  position: relative;
}

.portal-subtopbar-item.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  border-radius: 1px;
}

/* Dark mode subtopbar items - Modern Slate palette */
html.dark .portal-subtopbar-item {
  color: #94a3b8;                     /* Slate-400 - muted text */
}

html.dark .portal-subtopbar-item:hover {
  color: #f1f5f9;                     /* Slate-100 */
  background: #334155;                /* Slate-700 */
}

html.dark .portal-subtopbar-item.active {
  color: #f1f5f9;                     /* Slate-100 */
  background: rgba(59, 130, 246, 0.2); /* Blue-500 with transparency */
}

html.dark .portal-subtopbar-item.active::after {
  background: linear-gradient(to right, #3b82f6, #60a5fa); /* Blue-500 to Blue-400 */
}

.portal-subtopbar-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Back button for nested navigation - Theme-aware */
.portal-subtopbar-back {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  /* Light mode styles - light blue accent */
  color: #3b82f6;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.portal-subtopbar-back:hover {
  color: #1e40af;
  background: rgba(59, 130, 246, 0.15);
}

/* Dark mode back button - Modern Slate palette */
html.dark .portal-subtopbar-back {
  color: #3b82f6;                     /* Blue-500 */
}

html.dark .portal-subtopbar-back:hover {
  color: #f1f5f9;                     /* Slate-100 */
  background: #334155;                /* Slate-700 */
}

.portal-subtopbar-back svg {
  width: 16px;
  height: 16px;
}

/* Divider between back button and items - Theme-aware */
.portal-subtopbar-divider {
  width: 1px;
  height: 20px;
  /* Light mode - light blue accent */
  background: rgba(59, 130, 246, 0.2);
  margin: 0 8px;
  flex-shrink: 0;
}

html.dark .portal-subtopbar-divider {
  background: #334155;                /* Slate-700 */
}

/* ============================================================================
   MAIN CONTENT AREA
   ============================================================================ */

.portal-main {
  margin-left: var(--sidebar-width-collapsed);
  padding-top: 56px; /* TopBar only - SubTopBar adds its own height when present */
  min-height: 100vh;
  background: var(--background, #0f172a); /* Theme-aware background */
  transition: margin-left var(--sidebar-transition), padding-top var(--sidebar-transition);
}

/* When SubTopBar is visible, add extra padding */
.portal-main:has(.portal-subtopbar) {
  padding-top: calc(56px + var(--subtopbar-height));
}

body[data-sidebar-expanded="true"] .portal-main {
  margin-left: var(--sidebar-width);
}

/* Legacy support for main tag */
body main {
  margin-left: var(--sidebar-width-collapsed);
  transition: margin-left var(--sidebar-transition);
}

body[data-sidebar-expanded="true"] main {
  margin-left: var(--sidebar-width);
}

/* ============================================================================
   FULL-BLEED CONTENT (Camera Pages)
   ============================================================================ */

.portal-content-fullbleed {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: var(--brand-dark, #0f172a);
}

/* ============================================================================
   CRM CONTENT
   ============================================================================ */

.portal-crm-content {
  left: var(--sidebar-width-collapsed);
  transition: left var(--sidebar-transition);
  background: #f8fafc;
}

body[data-sidebar-expanded="true"] .portal-crm-content {
  left: var(--sidebar-width);
}

/* ============================================================================
   MOBILE STYLES
   ============================================================================ */

@media (max-width: 768px) {
  /* Sidebar becomes bottom navigation */
  .portal-sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    flex-direction: row;
    background: var(--sidebar-bg, #1c3060);
    border-right: none;
    border-top: none;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1); /* Top shadow for mobile nav */
    z-index: 1000;
  }

  .portal-sidebar-header {
    display: none;
  }

  .portal-sidebar-facility {
    display: none;
  }

  .portal-sidebar-footer {
    display: none;
  }

  .portal-sidebar-nav {
    display: flex;
    flex-direction: row;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 4px;
  }

  .portal-sidebar-nav-item {
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    min-width: 56px;
    margin: 0;
  }

  .portal-sidebar-nav-text {
    font-size: 10px;
    opacity: 1;
    width: auto;
    text-align: center;
  }

  /* Reset main content margin on mobile */
  body main,
  body .portal-main {
    margin-left: 0 !important;
    padding-bottom: 64px;
  }

  /* TopBar full width on mobile */
  .portal-topbar {
    left: 0 !important;
  }

  /* SubTopBar on mobile - scrollable */
  .portal-subtopbar {
    left: 0 !important;
    padding: 0 12px;
  }

  .portal-subtopbar::-webkit-scrollbar {
    display: none;
  }

  /* CRM content full width on mobile */
  .portal-crm-content {
    left: 0 !important;
  }

  /* Full-bleed content on mobile */
  .portal-content-fullbleed {
    padding-bottom: 64px !important;
  }
}

/* ============================================================================
   SETTINGS CONTENT
   ============================================================================ */

.settings-content-wrapper {
  height: 100%;
  overflow-y: auto;
  background: var(--background, #0f172a);
  padding: 16px;
}

/* Dark Theme Form Elements for Settings */
.settings-content-wrapper .bg-white {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.settings-content-wrapper .text-gray-900 {
  color: white !important;
}

.settings-content-wrapper .text-gray-700 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.settings-content-wrapper .text-gray-600 {
  color: rgba(255, 255, 255, 0.6) !important;
}

.settings-content-wrapper .text-gray-500 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.settings-content-wrapper .text-gray-400 {
  color: rgba(255, 255, 255, 0.4) !important;
}

.settings-content-wrapper .border-gray-200 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.settings-content-wrapper .border-gray-300 {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.settings-content-wrapper input[type="text"],
.settings-content-wrapper input[type="password"],
.settings-content-wrapper input[type="email"],
.settings-content-wrapper input[type="number"],
.settings-content-wrapper select,
.settings-content-wrapper textarea {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.settings-content-wrapper input[type="text"]::placeholder,
.settings-content-wrapper input[type="password"]::placeholder,
.settings-content-wrapper input[type="email"]::placeholder,
.settings-content-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.settings-content-wrapper input[type="text"]:focus,
.settings-content-wrapper input[type="password"]:focus,
.settings-content-wrapper input[type="email"]:focus,
.settings-content-wrapper input[type="number"]:focus,
.settings-content-wrapper select:focus,
.settings-content-wrapper textarea:focus {
  border-color: #60a5fa !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.settings-content-wrapper input[type="checkbox"] {
  accent-color: #60a5fa;
}

.settings-content-wrapper input[type="range"] {
  accent-color: #60a5fa;
}

/* Mobile Responsive - Settings */
@media (max-width: 768px) {
  .settings-content-wrapper {
    padding: 12px;
  }
}
