/* Unified SoulBox Theme - Dark with Steel Gray & Gold Accents */

/* Global Variables */
:root {
  --primary-bg: linear-gradient(180deg, #2a2f3a 0%, #121212 50%, #0d0d0d 100%);
  --card-bg: rgba(26, 26, 26, 0.8);
  --surface-bg: #212121;
  --surface-hover: #262626;
  --text-primary: #FFFFFF;
  --text-secondary: #bdbdbd;
  --text-muted: #9e9e9e;
  --text-dimmed: #8f8f8f;
  --border-color: #444444;
  --accent-steel: rgba(68, 68, 68, 0.35);
  --accent-gold: rgba(212, 175, 55, 0.15);
  --accent-gold-hover: rgba(212, 175, 55, 0.25);
  --accent-gold-border: rgba(212, 175, 55, 0.25);
  --shadow-default: 0 25px 50px rgba(0,0,0,0.4);
  --shadow-hover: 0 10px 20px rgba(212, 175, 55, 0.15);
  --shadow-gold: 0 6px 16px rgba(212, 175, 55, 0.15);
  --shadow-gold-hover: 0 8px 18px rgba(212, 175, 55, 0.25);
  --radius-default: 20px;
  --radius-secondary: 16px;
  --radius-tertiary: 14px;
  --radius-quaternary: 8px;
  --transition-default: all 0.2s ease;
  --transition-smooth: all 0.15s ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  background: var(--primary-bg);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Card Components */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-default);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  padding: 30px 24px 24px;
}

.card-lg {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.card-xl {
  padding: 40px 30px;
}

/* Header Components */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-align: center;
}

.header-lg {
  margin-bottom: 40px;
}

.brand-badge {
  width: 72px;
  height: 72px;
  background: #000;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin: 0 auto;
}

.brand-badge-lg {
  width: 80px;
  height: 80px;
}

.brand-badge img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.9;
}

.brand-badge-lg img {
  width: 60px;
  height: 60px;
}

.brand-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-title-lg {
  font-size: 28px;
  margin-bottom: 10px;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.brand-subtitle-lg {
  font-size: 16px;
  margin-bottom: 30px;
}

/* Button Components */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-tertiary);
  background: var(--surface-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.btn:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: linear-gradient(135deg, #1f1f1f, #2a2a2a);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--border-color), var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #242424, #2e2e2e);
  box-shadow: 0 0 0 1px var(--border-color), var(--shadow-gold-hover);
}

.btn-justify {
  justify-content: space-between;
}

.btn-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-right {
  color: var(--text-muted);
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-quaternary);
  display: grid;
  place-items: center;
  background: var(--accent-steel);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 8px var(--accent-gold-border);
}

.btn-icon-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 15px;
}

/* List Components */
.list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.list-lg {
  gap: 20px;
  margin-top: 0;
}

/* Card Option Components */
.card-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  border-radius: var(--radius-secondary);
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-default);
}

.card-option:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.option-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.option-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer Components */
.footer {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-dimmed);
}

.footer-lg {
  margin-top: 30px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 480px) {
  .card-xl {
    padding: 30px 20px;
  }

  .brand-title-lg {
    font-size: 24px;
  }

  .card-option {
    padding: 25px 15px;
  }
}

/* Admin-specific styles */
.admin-body {
  margin: 0;
  padding: 0;
}

.admin-sidebar {
  background: var(--card-bg);
  border-right: 1px solid var(--border-color);
  backdrop-filter: blur(6px);
}

.admin-main {
  background: var(--card-bg);
}

.admin-header {
  background: var(--surface-bg);
  border-bottom: 1px solid var(--border-color);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.admin-stat-card {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-secondary);
  padding: 24px;
  transition: var(--transition-default);
}

.admin-stat-card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quick-action-btn {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 20px;
  border-radius: var(--radius-secondary);
  transition: var(--transition-default);
  cursor: pointer;
}

.quick-action-btn:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.schedule-timeline {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-secondary);
  overflow: hidden;
}

.timeline-item {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-default);
}

.timeline-item:hover {
  background: var(--surface-hover);
}

.admin-chart-card,
.admin-alerts-card {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-secondary);
}

.popular-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.popular-class-card {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-secondary);
  padding: 20px;
  transition: var(--transition-default);
}

.popular-class-card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Form elements */
input, select, textarea {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-tertiary);
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-color);
  box-shadow: 0 0 0 2px var(--accent-gold-border);
}

.admin-search input {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.admin-search input::placeholder {
  color: var(--text-muted);
}

/* Status badges */
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.completed {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.in-progress {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-badge.upcoming {
  background: var(--accent-steel);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}