/* Design System - Combat Sports Theme */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: #fafafa;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --primary: #d92d20;
  --primary-foreground: #ffffff;
  --secondary: #f0f0f0;
  --secondary-foreground: #262626;
  --muted: #ebebeb;
  --muted-foreground: #737373;
  --accent: #ffb800;
  --accent-foreground: #0d0d0d;
  --success: #16a34a;
  --success-foreground: #ffffff;
  --warning: #e68a00;
  --warning-foreground: #0d0d0d;
  --destructive: #e05353;
  --destructive-foreground: #ffffff;
  --border: #e0e0e0;
  --input: #ebebeb;
  --ring: #d92d20;
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  --gradient-gold: linear-gradient(135deg, #ffb800 0%, #e6a600 100%);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 30px rgba(217,45,32,0.2);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: -0.02em;
}

/* Cards */
.card-combat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--card);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: var(--secondary);
}

.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--success);
  color: var(--success-foreground);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(224,83,83,0.3);
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(224,83,83,0.1);
  color: var(--destructive);
}

.btn-danger:hover {
  background: rgba(224,83,83,0.2);
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background: var(--input);
  font-size: 0.875rem;
  color: var(--foreground);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(217,45,32,0.3);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background: var(--input);
  font-size: 0.875rem;
  color: var(--foreground);
  appearance: none;
  transition: all 0.2s;
  outline: none;
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(217,45,32,0.3);
}

.form-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid;
}

.status-approved {
  background: rgba(22,163,74,0.15);
  color: var(--success);
  border-color: rgba(22,163,74,0.25);
}

.status-pending {
  background: rgba(230,138,0,0.15);
  color: var(--warning);
  border-color: rgba(230,138,0,0.25);
}

.status-rejected {
  background: rgba(224,83,83,0.15);
  color: var(--destructive);
  border-color: rgba(224,83,83,0.25);
}

.status-pending-sig {
  background: rgba(255,184,0,0.15);
  color: var(--accent);
  border-color: rgba(255,184,0,0.25);
}

.status-inactive {
  background: rgba(115,115,115,0.15);
  color: var(--muted-foreground);
  border-color: rgba(115,115,115,0.25);
}

/* Tables */
.table-combat {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-combat th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.table-combat td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.table-combat tr:hover td {
  background: rgba(0,0,0,0.02);
}

/* Stat cards */
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.stat-card:hover {
  border-color: rgba(217,45,32,0.4);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Animations */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(217,45,32,0.3); }
  50% { box-shadow: 0 0 40px rgba(217,45,32,0.5); }
}

.animate-slide-up { animation: slide-up 0.3s ease-out; }
.animate-fade-in { animation: fade-in 0.3s ease-out; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* Quick action items */
.quick-action {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.quick-action:hover {
  border-color: rgba(217,45,32,0.4);
}

.quick-action-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.quick-action-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Section heading */
.section-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-left: 0.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-heading svg {
  width: 1rem;
  height: 1rem;
}

/* Info grid inside cards */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-label {
  font-size: 0.65rem;
  color: var(--muted-foreground);
}

.info-value {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Divider between sections */
.divider-border {
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Avatar circle */
.avatar-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-foreground);
  background: var(--gradient-primary);
  flex-shrink: 0;
}
