:root {
  --bg-black: #000000;
  --bg-neutral-900: #111111;
  --bg-neutral-800: #1a1a1a;
  --text-white: #ffffff;
  --text-neutral-400: #a3a3a3;
  --text-neutral-500: #737373;
  --primary-white: #ffffff;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --accent-yellow: #eab308;
  --border-color: #262626;
  --font-family: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-family);
  line-height: 1.5;
  min-height: 100-screen;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Header */
header {
  background-color: var(--bg-neutral-900);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-box {
  width: 40px;
  height: 40px;
  background-color: var(--primary-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
}

.logo-text span {
  color: var(--text-neutral-500);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a:hover {
  color: var(--text-neutral-400);
}

.logout-btn {
  color: var(--accent-red);
}

/* Main */
main {
  flex-grow: 1;
  padding: 2rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Auth / Login */
.auth-card {
  max-width: 448px;
  margin: 3rem auto;
  background-color: var(--bg-neutral-900);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-header {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-neutral-400);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background-color: var(--bg-black);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.btn-primary {
  width: 100%;
  background-color: var(--primary-white);
  color: black;
  font-weight: bold;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #e5e5e5;
}

.error-msg {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* Hero / Index */
.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-neutral-400);
  max-width: 42rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.btn-cta {
  display: inline-block;
  background-color: var(--primary-white);
  color: black;
  font-weight: bold;
  padding: 1.25rem 3.5rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(255, 255, 255, 0.15);
}

/* Dashboard Premium */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .status-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(145deg, var(--bg-neutral-900), #0a0a0a);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.call-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background-color: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.call-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.table-badge {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--bg-neutral-800), #000);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-white);
}

.status-badge {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  background-color: rgba(234, 179, 8, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-neutral-800);
  border-color: var(--text-neutral-400);
}

/* Footer */
footer {
  background-color: var(--bg-neutral-900);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-text {
  color: var(--text-neutral-500);
  font-size: 0.875rem;
}

/* Utils */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gap-4 {
  gap: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}