/* RESET */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      rgba(15, 23, 42, 0.88),
      rgba(15, 23, 42, 0.88)
    ),
    url("/static/img/camp-bg3.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: "Inter", "Segoe UI", sans-serif;
}

/* ------ BLINKING CURSOR FOR TITLE -------- */ 
#typing-title::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}


/* CENTERING */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* CARD */
.form-card {
  background: rgba(255, 255, 255, 0.97);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  border-radius: 18px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

h1, h2, h3 {
  letter-spacing: -0.5px;
  color: #0f172a;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}




/* EVENT INFO CSS */ 
.event-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  text-align: center;
}


/* HEADINGS */

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

.form-card h1 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.subtitle {
  margin-bottom: 24px;
  color: #c9a36b;
  font-size: 0.95rem;
}

/* FIELDS */
.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #334155;
  align-items: flex-start;
}

.field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.field input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-top: 3px;
}


input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  background: #f8fafc;
}


input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #c9a36b;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}


/* MEDICAL FORM DOWNLOAD */
.medical-download {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
  text-align: center;
}

.medical-download p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #334155;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  background-color: #0f172a;
  color: #ffffff !important;

  text-decoration: none !important;
  border-radius: 10px;

  font-size: 0.95rem;
  font-weight: 600;

  cursor: pointer;
}

.download-btn:hover {
  background-color: #c9a36b;
}

/* COST BUTTON */ 
.cost-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
  font-size: 1rem;
  color: #0f172a;
}

/* BUTTON */
button {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  color: white;
  background: linear-gradient(135deg, #c9a36b, #836333);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px #c9a46b;
}


/* SUCCESS MESSAGE */
.success {
  background: #dcfce7;
  color: #000000;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.success h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

/* BUTTONS ON THE SUCCESS PAGE*/

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 26px;
  border-radius: 40px;
  border: 1px solid #c9a46b;

  font-size: 0.9rem;
  text-decoration: none;
  color: var(--light);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-btn:hover {
  background: #c9a46b;
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px #c9a46b;
}

.lcg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 26px;
  border-radius: 40px;
  border: 1px solid #6ba8c9;

  font-size: 0.9rem;
  text-decoration: none;
  color: #000000;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.lcg-btn:hover {
  background: #6ba8c9;
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(107,168,201,0.4);
}

/* registration page exit button */
.exit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 26px;
  border-radius: 40px;
  border: 1px solid #c9a46b;

  font-size: 0.9rem;
  text-decoration: none;
  color: #000000;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.exit-btn:hover {
  background: #c9a46b;
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: #c9a36b81;
}

/* ADMIN DASHBOARD /* 
    /* TABLE FOR THE ADMIN */

    
    table select,
    table input[type="number"] {
      padding: 6px;
      border-radius: 6px;
      border: 1px solid #cbd5f5;
      font-size: 0.85rem;
    }

    table button {
      padding: 6px 12px;
      font-size: 0.85rem;
      border-radius: 6px;
    }

    /* Medical Table */
    td small {
      color: #334155;
      line-height: 1.4;
    }


    /* DELETE BUTTON ON ADMIN DASHBOARD */
    button[style*="dc2626"] {
      background: #dc2626;
    }

    button[style*="dc2626"]:hover {
      background: #b91c1c;
    }

      /* ADMIN PASSWORD CHANGE */
      .btn-secondary {
          display: inline-block;
          padding: 10px 16px;
          background: #334155;
          color: #ffffff;
          text-decoration: none;
          border-radius: 8px;
          font-weight: 600;
        }

        .btn-secondary:hover {
          background: #1e293b;
        }

      .password-box {
        max-width: 420px;
        background: #f8fafc;
        padding: 18px;
        border-radius: 12px;
        margin-top: 20px;
      }

      .error {
        background: #fee2e2;
        color: #991b1b;
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 12px;
        font-size: 0.9rem;
      }
    

