@import url('form.css');

/* ===== Registration Closed Page - Responsive Styles ===== */

.header h1 {
  /* Fluid scaling: mobile 1.5rem → tablet 2rem → desktop 2.5rem */
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: var(--space-2);
}

.header p {
  /* Fluid subtitle scaling */
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
}

.closed-box {
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.8s ease-out both;
  margin-top: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.closed-box h2 {
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.3;
}

.closed-box p {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.closed-box .note {
  font-size: clamp(0.85rem, 1.8vw, 0.975rem);
  color: var(--primary-red);
  font-weight: 600;
  line-height: 1.5;
}

/* ===== Mobile (< 480px) ===== */
@media (max-width: 479px) {
  .header {
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
  }

  .header h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-1);
  }

  .header p {
    font-size: 0.95rem;
    margin-top: var(--space-1);
  }

  .closed-box {
    padding: 1.25rem;
    margin-top: var(--space-6);
    border-radius: var(--radius-lg);
  }

  .closed-box h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
  }

  .closed-box p {
    font-size: 0.9rem;
    margin-bottom: var(--space-3);
  }

  .closed-box .note {
    font-size: 0.85rem;
  }
}

/* ===== Tablet (480px - 768px) ===== */
@media (min-width: 480px) and (max-width: 767px) {
  .header h1 {
    font-size: 1.875rem;
  }

  .header p {
    font-size: 1rem;
  }

  .closed-box {
    padding: 1.75rem;
  }

  .closed-box h2 {
    font-size: 1.5rem;
  }

  .closed-box p {
    font-size: 0.975rem;
  }

  .closed-box .note {
    font-size: 0.9rem;
  }
}

/* ===== Desktop (≥ 768px) ===== */
@media (min-width: 768px) {
  .closed-box {
    padding: 2.5rem;
  }

  .closed-box h2 {
    font-size: 1.75rem;
  }

  .closed-box p {
    font-size: 1.05rem;
  }

  .closed-box .note {
    font-size: 0.975rem;
  }
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
