@import './theme.css';

/* ======================= GLOBAL WRAPPER ======================= */
.access-page-wrapper {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg,
      #dbeafe,
      #e0e7ff,
      #ddd6fe);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  font-family: var(--body-font, 'Nunito'), sans-serif;
}

/* ======================= NAVBAR ======================= */
.access-page-wrapper .navbar {
  width: 100%;
  padding: 14px 28px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.access-page-wrapper .nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.access-page-wrapper .logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.access-page-wrapper .logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

.access-page-wrapper .nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

/* ======================= MAIN CONTENT ======================= */
.access-page-wrapper .content-container {
  margin-top: 50px;
  text-align: center;
}

.access-page-wrapper .main-title {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.access-page-wrapper .subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: #6b7280;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================= CARDS ROW ======================= */
.access-page-wrapper .cards-row {
  margin-top: 50px;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.access-page-wrapper .card {
  width: 360px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 22px;
  text-align: center;
  box-shadow:
    0 20px 50px rgba(59, 130, 246, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.access-page-wrapper .card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 65px rgba(37, 99, 235, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* ======================= ICONS ======================= */
.access-page-wrapper .icon {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.access-page-wrapper .card:hover .icon {
  transform: scale(1.15) rotate(3deg);
}

.access-page-wrapper .icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: inherit;
  filter: blur(20px);
  opacity: 0.7;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.access-page-wrapper .card:hover .icon::before {
  opacity: 0.9;
  filter: blur(25px);
}

.access-page-wrapper .green-icon {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.access-page-wrapper .pink-purple-icon {
  background: linear-gradient(135deg, #a78bfa, #6366f1);
}

.access-page-wrapper .text-white {
  color: white;
}

/* ======================= BUTTONS ======================= */
.access-page-wrapper .btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.access-page-wrapper .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.access-page-wrapper .btn-green {
  background: linear-gradient(135deg, #34d399, #22c55e);
}

.access-page-wrapper .btn-purple {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.access-page-wrapper .btn-outline {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  backdrop-filter: blur(8px);
}

/* ======================= PARENT/TEACHER BOX ======================= */
.access-page-wrapper .parent-box {
  width: 90%;
  max-width: 820px;
  margin-top: 50px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  text-align: center;
  box-shadow:
    0 20px 50px rgba(59, 130, 246, 0.15);
}

.access-page-wrapper .btn-parent-white {
  margin-top: 18px;
  padding: 14px 28px;
  border-radius: 16px;
  background: white;
  color: #2563eb;
  border: 2px solid #3b82f6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.access-page-wrapper .btn-parent-white:hover {
  transform: translateY(-2px);
  background: #f8faff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  border-color: #2563eb;
}

/* ======================= FOOTER NOTE ======================= */
.access-page-wrapper .footer-note {
  margin-top: 35px;
  margin-bottom: 45px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  font-size: 13px;
  color: #6b7280;
  max-width: 760px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 768px) {
  .access-page-wrapper .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .access-page-wrapper .navbar {
    justify-content: center;
  }

  .access-page-wrapper .nav-left .nav-title {
    display: none;
  }
}

@media (max-width: 480px) {
  .access-page-wrapper .card {
    width: 90%;
    max-width: 360px;
    padding: 20px;
  }

  .access-page-wrapper .main-title {
    font-size: 28px;
  }

  .access-page-wrapper .parent-box {
    width: 95%;
    padding: 20px;
  }
}