* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #eef2f7;
  margin: 0;
  padding: 30px;
  color: #111827;
}

h1 {
  margin-top: 0;
  font-size: 32px;
}

h2 {
  margin-top: 35px;
  color: #1f2937;
}

a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

button {
  background: #111827;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  opacity: 0.9;
}
.welcome-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
@media (max-width: 768px) {
  .primary-btn,
  .outline-btn,
  .portal-card a {
    width: 100%;
    text-align: center;
    padding: 16px;
  }
}
.player-card,
.dashboard-card {
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.spinner {
  border-radius: 50%;
}
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .dashboard-overview,
  .stats-container,
  .overview-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .players,
  .players-container,
  .players-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .player-card {
    width: 100% !important;
  }

  .nav-buttons,
  .actions,
  .filter-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  .actions a,
  .actions button {
    width: 100%;
    text-align: center;
  }

  input[type="text"],
  input[type="search"] {
    width: 100% !important;
  }
}

input,
select,
textarea {
  width: 100%;
  max-width: 450px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 15px;
}

textarea {
  min-height: 80px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 30px;
}

.nav-links a {
  background: rgb(59, 124, 215);
  color: hsl(240, 8%, 95%);
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.stat-card h3 {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
}

.stat-card p {
  margin: 12px 0 0;
  font-size: 32px;
  font-weight: bold;
}

.player-card {
  background: white;
  padding: 22px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.player-card h3 {
  margin-top: 0;
}

.player-card form {
  margin-top: 12px;
}

.group-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.group-filters button {
  background: #2563eb;
}


.danger-btn {
  background: #dc2626;
}

.success-btn {
  background: #16a34a;
}

@media (max-width: 1000px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    padding: 18px;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    max-width: 100%;
  }
}
.hero {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.hero p {
  margin: 5px 0 0;
  opacity: 0.9;
}
.status {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.Paid {
  background: #dcfce7;
  color: #166534;
}

.Unpaid {
  background: #fef3c7;
  color: #92400e;
}

.Past-Due {
  background: #fed7aa;
  color: #9a3412;
}

.Canceled {
  background: #fee2e2;
  color: #991b1b;
}

.menu-btn {
  background: #111827;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.side-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100vh;
  background: #111827;
  color: white;
  padding: 25px;
  z-index: 1000;
  transition: left 0.3s ease;
}

.side-drawer.open {
  left: 0;
}

.side-drawer h2 {
  color: white;
  margin-top: 0;
}

.side-drawer a {
  display: block;
  color: #d1d5db;
  padding: 14px 0;
  text-decoration: none;
  font-weight: 600;
}

.side-drawer a:hover {
  color: white;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 999;
}

.sidebar-overlay.show {
  display: block;
}

/* parent design*/
.parent-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.parent-stat-card {
  background: #f9fafb;
  padding: 18px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.parent-stat-card h3 {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.parent-stat-card p {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 700px) {
  .parent-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.player-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
  margin-bottom: 12px;
}
.message-badge {
  background: red;
  color: white;
  border-radius: 50%;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 6px;
}
.chat-box {
  max-width: 800px;
  margin: 0 auto;
}

.message-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 14px;
  max-width: 70%;
}

.parent-message {
  background: #e5e7eb;
  margin-right: auto;
}

.coach-message {
  background: #dbeafe;
  margin-left: auto;
}

.message-bubble p {
  margin: 8px 0;
}

.message-bubble small {
  color: #6b7280;
  font-size: 12px;
}
.calendar-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.calendar-day {
  min-width: 250px;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.calendar-day h3 {
  margin-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.calendar-event {
  background: #eef2ff;
  border-left: 4px solid #2563eb;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.calendar-event strong {
  display: block;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  align-items: start;
}

.player-card {
  width: 100%;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  text-align: center;
  color: #777;
}

.sidebar-footer p {
  margin: 0;
  font-weight: bold;
}

.sidebar-footer small {
  display: block;
  margin-top: 5px;
}
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: white;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 10px;
}

.auth-card p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 25px;
}

.auth-card input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 15px;
}

.auth-card button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.auth-card a {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: #2563eb;
  font-weight: bold;
}



.player-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 15px 0;
}

.info-box {
  background: #f8fafc;
  padding: 12px;
  border-radius: 12px;
}

.info-box strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
}

.card-section {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.card-actions a {
  background: #eef2ff;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.welcome-page {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ece8e8 25%,
    #d1d3d8 50%,
    #c2c6ce 75%,
    #b9bec5 100%
  );
  color: black;
  overflow-x: hidden;
}

.welcome-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 7%;
}

.welcome-nav a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  margin-left: 25px;
  font-weight: 700;
}

.nav-btn {
  background: #2563eb;
  padding: 12px 22px;
  border-radius: 999px;
}

.welcome-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  align-items: center;
  padding: 0 7%;
  gap: 40px;
}

.welcome-left h1 {
  font-size: 90px;
  margin: 0;
  line-height: 1;
}

.welcome-left p {
  font-size: 20px;
  color: #000000;
  max-width: 560px;
  margin: 25px 0;
}

.welcome-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-btn,
.outline-btn,
.portal-card a {
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 24px;
  display: inline-block;
}

.primary-btn {
  background: #2563eb;
  color: rgb(0, 0, 0);
}

.outline-btn {
  border: 1px solid #94a3b8;
  color: rgb(0, 0, 0);
}

.welcome-right {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-shape {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 45% 55% 60% 40%;
  background:
    repeating-radial-gradient(
      ellipse at center,
      transparent 0px,
      transparent 14px,
      rgba(37, 99, 235, 0.9) 16px,
      rgba(37, 99, 235, 0.9) 18px
    );
  filter: drop-shadow(0 0 30px rgba(37,99,235,.6));
  animation: floatShape 6s ease-in-out infinite;
}

.portal-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    180deg,
    #c4c4c7 0%,
    #cac9d0 25%,
    #dadadf 50%,
    #e0e0e5 75%,
    #ffffff 100%
  );
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: 35px;
  max-width: 360px;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
}

.portal-card p {
  color: #000000;
}

.portal-card a {
  display: block;
  margin-top: 14px;
  background: #2563eb;
  color: white;
  text-align: center;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

@media (max-width: 850px) {
  .welcome-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 50px;
  }

  .welcome-left h1 {
    font-size: 60px;
  }

  .welcome-actions {
    justify-content: center;
  }

  .welcome-nav {
    flex-direction: column;
    gap: 18px;
  }
}
.academy-logo {
  color: #000000 !important;
  font-weight: 900;
  letter-spacing: 1px;
}
.welcome-gallery {
  padding: 60px 7%;
  background: linear-gradient(
    180deg,
    #c4c4c7 0%,
    #cac9d0 25%,
    #dadadf 50%,
    #e0e0e5 75%,
    #ffffff 100%
  );
  color: white;
  text-align: center;
}

.welcome-gallery h2 {
  font-size: 44px;
  margin-bottom: 10px;
  color: #ffffff;
}

.welcome-gallery p {
  color: #ffffff;
  margin-bottom: 35px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 20px 45px rgba(255, 255, 255, 0.35);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-card.tall,
  .gallery-card.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}
.google-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: #2563eb;
  color: white !important;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
}
.other{
    color:rgb(2, 2, 2);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,.3));
}
.academy-logo {
  margin: 0;
  color: white;
  font-weight: 900;
  letter-spacing: 1px;
}


.contact-section {
  width: 86%;
  margin: 80px auto;
  padding: 60px;
  background: linear-gradient(
    180deg,
    #c4c4c7 0%,
    #cac9d0 25%,
    #dadadf 50%,
    #e0e0e5 75%,
    #ffffff 100%
  );;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.contact-section h2 {
  color: #1e3a8a;
  font-size: 42px;
  margin-bottom: 10px;
}

.contact-section p {
  color: #64748b;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 700px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 16px;
}

.contact-form button {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: .2s;
}

.contact-form button:hover {
  background: #1d4ed8;
}
.footer{
    text-align: center;
}