body {
  background-color: #eef2f6;
  font-family: "Segoe UI", sans-serif;
}

/* Header & Card */
.header {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: white;
  padding: 20px 15px;
  border-radius: 0 0 25px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.card-box {
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: none;
  background: white;
  transition: transform 0.2s;
}

/* Menu Buttons */
.btn-menu {
  width: 100%;
  height: 60px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Layout */
#login-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
}
#app-container,
#view-form,
#view-search {
  display: none;
}
.admin-only {
  display: none !important;
}
.chart-container {
  position: relative;
  height: 200px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Logo */
.logo-login {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}
.logo-header {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Loading Overlay (Khi gọi API) */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}
.loading-overlay.active {
  visibility: visible;
}
/* --- GIAO DIỆN SẢNH CHÍNH (TRANG CHỦ CLB) --- */
#home-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  animation: fadeIn 0.5s ease-in-out;
}

.module-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.module-icon-box {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.bg-giai-dau {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}
.bg-quy-clb {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

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