/* Tech/AI theme shared styles */

:root {
  --primary-color: #00ffff;
  --primary-hover: #00cccc;
  --secondary-color: #ff00ff;
  --accent-color: #ffff00;
  --background-color: #0a0a0a;
  --card-background: rgba(20, 20, 30, 0.8);
  --text-color: #ffffff;
  --text-muted: #b0b0b0;
  --border-color: rgba(0, 255, 255, 0.3);
  --card-shadow: 0 8px 32px rgba(0, 255, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.3);
  --glow-effect: 0 0 20px rgba(0, 255, 255, 0.5);
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-color);
}

/* Glass content sections */

.content-section {
  background: transparent;
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: none;
  border-radius: 20px;
}

/* Bottom nav glass */

.bottom-nav {
  background: transparent;
  box-shadow: none;
  border-top: 1px solid var(--border-color);
}

/* Card grid layout */

.client-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

@media (max-width: 767px) {
  .client-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.client-card {
  border-radius: 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  box-shadow: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.client-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1rem;
}

.client-card .client-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.icon-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.icon-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  background: rgba(0, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.icon-actions a:hover {
  transform: translateY(-2px);
  background: rgba(0, 255, 255, 0.15);
  border-color: var(--primary-color);
}

@media (max-width: 767px) {
  .icon-actions a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .client-card .card-body {
    padding: 0.75rem;
  }
}

/* Page layout: fixed with contained scrolling in data areas */

.container {
  height: calc(100vh - 120px);
  overflow: auto;
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 900px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767px) {
  .container {
    height: calc(100vh - 100px);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

#recentClientsGrid, #clientsList {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

#recentClientsGrid::-webkit-scrollbar, #clientsList::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#recentClientsGrid::-webkit-scrollbar-thumb, #clientsList::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.3);
  border-radius: 6px;
}

#recentClientsGrid::-webkit-scrollbar-track, #clientsList::-webkit-scrollbar-track {
  background: transparent;
}

/* Dark mode tokens (body.dark-mode) - already futuristic */

body.dark-mode {
  --primary-color: #00ffff;
  --primary-hover: #00cccc;
  --background-color: #0a0a0a;
  --card-background: rgba(20, 20, 30, 0.8);
  --text-color: #ffffff;
  --text-muted: #b0b0b0;
  --border-color: rgba(0, 255, 255, 0.3);
}

.hidden {
  display: none !important;
}

