/* =========================
   AUTH LAYOUT
========================= */

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background-image: url('../pict/water.jpg');
  background-size: cover;
  background-position: center;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(18, 40, 64, 0.82);
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.auth-container {
    width: 100%;
    max-width: 500px;

    padding: 30px;
    border-radius: var(--radius);

    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-header h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.auth-header p {
  font-size: 13px;
  color: var(--text-muted);
}


/* =========================
   FORM
========================= */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    font-size: 14px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}


/* =========================
   BUTTON
========================= */

.btn {
    width: 100%;
    border: none;

    background: var(--navy);
    color: var(--white);

    padding: 12px;
    border-radius: var(--radius-sm);

    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: var(--navy-dark);
}


/* =========================
   ALERT
========================= */

.alert {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-error ul {
    margin: 0;
    padding-left: 18px;
}


/* =========================
   LINKS
========================= */

.auth-link {
    margin-top: 20px;
    text-align: center;
}

.auth-link a {
    color: var(--teal);
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.auth-brand-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.auth-logo {
  height: 28px;
  width: auto;
}

@media (max-width: 600px) {
  .auth-container {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .auth-header h1 {
    font-size: 20px;
  }

  .auth-header p {
    font-size: 13px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px 10px;
    font-size: 14px;
  }

  .btn {
    padding: 10px;
    font-size: 14px;
  }
}