/* Modern UI Styles */
:root {
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none !important;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gradient-button {
  background: var(--primary-gradient);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gradient-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.input-field {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: #f1f5f9;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
  outline: none;
}

.nav-link {
  position: relative;
  color: #f1f5f9;
  text-decoration: none;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Tab Content */
.tab-content { 
  display: none; 
  opacity: 0; 
  transition: opacity 0.3s ease; 
}

.tab-content.active { 
  display: block; 
  opacity: 1; 
}

/* Common Components */
.small-card { 
  padding: 1rem; 
  border-radius: 0.5rem; 
}

.small-text { 
  font-size: 0.875rem; 
}

/* Status Colors */
.status-active { color: #10b981; }
.status-virtual { color: #3b82f6; }
.status-inactive { color: #ef4444; }
.status-working { color: #10b981; }
.status-sold { color: #f59e0b; }
.status-banned { color: #ef4444; }
.status-error { color: #ef4444; }
.status-wait { 
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* Interactive Elements */
.sortable { 
  cursor: pointer; 
}

.sortable:hover { 
  background-color: rgba(255, 255, 255, 0.05); 
}

.editable { 
  cursor: pointer; 
}

.editable:hover { 
  text-decoration: underline; 
}

.button-glow { 
  transition: box-shadow 0.3s ease; 
}

.button-glow:hover { 
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.7); 
}

/* Mobile Menu */
.mobile-menu { 
  display: none; 
}

.mobile-menu.active { 
  display: flex; 
  flex-direction: column; 
  background: rgba(30, 41, 59, 0.9); 
  position: absolute; 
  top: 60px; 
  right: 0; 
  width: 100%; 
  padding: 1rem; 
}

/* Dropdown Menu */
.dropdown-menu { 
  display: none; 
  position: absolute; 
  background: #1e293b; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 0.5rem; 
  padding: 0.5rem; 
  z-index: 10; 
}

.dropdown-menu.active { 
  display: block; 
}

/* Table Styles */
.sim-row td {
  vertical-align: middle;
  line-height: 1.5;
  white-space: nowrap;
}

.sim-row td.flex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Copy Button */
.copy-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  margin-left: 0.5rem;
}

/* Gradient Text */
.gradient-text { 
  background: linear-gradient(45deg, #6366f1, #a855f7); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}

