/* Shared Styles for CourtHeat */

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

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: white;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Enhanced Sidebar */
.hamburger {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.8rem;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(255, 60, 0, 0.3);
  border-radius: 8px;
  color: white;
  z-index: 20;
  cursor: pointer;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 60, 0, 0.1);
  border-color: rgba(255, 60, 0, 0.6);
  transform: scale(1.05);
}

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
  padding-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 15;
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 60, 0, 0.2);
}

.sidebar.open {
  left: 0;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar a,
.sidebar button {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: 12px;
  margin: 0.2rem 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar a::before,
.sidebar button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 60, 0, 0.1), transparent);
  transition: width 0.3s ease;
}

.sidebar a:hover::before,
.sidebar button:hover::before {
  width: 100%;
}

.sidebar a:hover,
.sidebar button:hover {
  color: #ff3c00;
  transform: translateX(5px);
  background: rgba(255, 60, 0, 0.05);
}

.sidebar a img,
.sidebar button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

.sidebar a:hover img,
.sidebar button:hover img {
  transform: scale(1.1);
  filter: brightness(0) invert(1) drop-shadow(0 0 8px #ff3c00);
}

/* Enhanced Headers */
h1 {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px #ff3c00, 0 0 40px rgba(255, 60, 0, 0.3);
  letter-spacing: 2px;
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff3c00, transparent);
  border-radius: 2px;
}

.animated-header {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideIn 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Cards */
.card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 60, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff3c00, #ff6b3d, #ff3c00);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  border-radius: 20px 20px 0 0;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Enhanced Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff3c00, #ff6b3d);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 60, 0, 0.3);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e13500, #ff5a2e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 60, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, #333, #444);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #444, #555);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

label {
  font-size: 1rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 0.3rem;
}

input[type="file"],
input[type="text"],
textarea {
  background: rgba(42, 42, 42, 0.8);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

input[type="file"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 60, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 60, 0, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Enhanced Stats */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.stat-item {
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff3c00;
  display: block;
  text-shadow: 0 0 8px rgba(255, 60, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.2rem;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 60, 0, 0.3);
  border-radius: 50%;
  border-top-color: #ff3c00;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .sidebar {
    width: 260px;
    padding-left: 1.5rem;
  }

  .stats-container {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .sidebar {
    width: 240px;
    padding-left: 1rem;
  }

  .sidebar a,
  .sidebar button {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .sidebar a img,
  .sidebar button img {
    width: 20px;
    height: 20px;
  }

  .stats-container {
    gap: 1.5rem;
  }
} 