:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: var(--surface) !important;
  box-shadow: 0 1px 0 var(--border);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

main {
  flex: 1;
}

.hero {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #fff;
  padding: 4rem 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero p {
  opacity: 0.92;
  font-size: 1.125rem;
  max-width: 640px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-light:hover {
  color: var(--primary);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-tutor {
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.card-tutor:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.15);
}

.badge-discipline {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.price-tag {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.auth-card {
  max-width: 440px;
  margin: 2rem auto;
}

.role-btn {
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  display: block;
}

.role-btn:hover {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
  color: var(--primary);
}

.role-btn.selected {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
}

.status-pending { color: var(--warning); }
.status-approved { color: var(--success); }
.status-blocked { color: var(--danger); }

.dashboard-section {
  margin-bottom: 2rem;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-actions .btn {
  margin: 0 0.15rem;
}

.alert-floating {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1050;
  min-width: 280px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}
