.auth-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  background: #ffffff;
}

.auth-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  padding: 2.6em 2.3em 2.2em 2.3em;
  width: 390px;
  max-width: 97vw;
  margin-top: 150px;
  margin-bottom: 100px;
}

.auth-card select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #e5e5e5;
  font-size: 1.05em;
  background: #ffffff;
  margin-bottom: 12px;
  outline: none;
  transition: border .2s;
  color: #1a1a1a;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.auth-card select:focus {
  border: 1.7px solid #000000;
}

.auth-card h1,
.auth-card h2 {
  text-align: center;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.3em;
  font-size: 2.05em;
  letter-spacing: 1px;
}

.auth-subtitle {
  text-align: center;
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 1.6em;
}

.auth-card form {
  margin-bottom: 1em;
}

.auth-card label {
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
  display: block;
  color: #1a1a1a;
  font-size: 0.92rem;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card input[type="date"] {
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1.5px solid #e5e5e5;
  font-size: 1.02em;
  outline: none;
  transition: border .2s, box-shadow .2s, background-color .2s, color .2s;
  background-color: #ffffff;
  color: #1a1a1a;
}

.auth-card input::placeholder {
  color: #999999;
}

.auth-card input:focus {
  border: 1.7px solid #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.auth-card a {
  color: #000000;
  text-decoration: underline;
}

.auth-card a:hover {
  color: #333333;
}

.auth-primary-btn,
.auth-card .btn.btn-primary {
  width: 100%;
  padding: 12px 0;
  margin-top: 10px;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  font-size: 1.03em;
  letter-spacing: 0.04em;
  transition: background .18s, transform .1s, box-shadow .18s, color .18s;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-primary-btn:hover,
.auth-card .btn.btn-primary:hover {
  background: #333333;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn.btn-guest {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  color: #000000;
  font-weight: 700;
  border: 1.5px solid #000000;
  border-radius: 999px;
  font-size: 1.02em;
  letter-spacing: 0.04em;
  margin-top: 0.6em;
  transition: background .17s, color .17s, border-color .17s, transform .1s;
  text-transform: uppercase;
  cursor: pointer;
}

.btn.btn-guest:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-1px);
}

.auth-or {
  text-align: center;
  margin: 1em 0 1.1em 0;
  color: #666666;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.auth-link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95em;
  color: #666666;
}

.auth-link a {
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
}

.auth-link a:hover {
  color: #333333;
}

.auth-error,
.error-msg {
  color: #cc0000;
  background: #ffe6e6;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95em;
  border: 1px solid #ffcccc;
}

.success-msg {
  color: #006600;
  background: #e6ffe6;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95em;
  border: 1px solid #ccffcc;
}

.forgot-pass {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-pass a {
  color: #666666;
  text-decoration: none;
  font-size: 13px;
}

.forgot-pass a:hover {
  color: #000000;
  text-decoration: underline;
}
/* Wide Auth Card for Registration */
.auth-card-wide {
  width: 850px;
  max-width: 97vw;
  padding: 3em 3.5em 2.5em 3.5em;
}

.auth-header {
  margin-bottom: 2em;
}

/* Form Section Titles */
.form-section-title {
  font-weight: 700;
  font-size: 1.1em;
  color: #000000;
  margin: 1.8em 0 1em 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #e5e5e5;
  letter-spacing: 0.5px;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

/* Two Column Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2em 1.5em;
  margin-bottom: 0.5em;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #1a1a1a;
  font-size: 0.92rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1.5px solid #e5e5e5;
  font-size: 1.02em;
  outline: none;
  transition: border .2s, box-shadow .2s;
  background-color: #ffffff;
  color: #1a1a1a;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
  border: 1.7px solid #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
  color: #999999;
}

/* Checkboxes */
.form-checkboxes {
  margin: 1.5em 0 1.2em 0;
}

.checkbox-group {
  margin: 0.8em 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label span {
  color: #333333;
  line-height: 1.5;
}

.checkbox-label a {
  color: #000000;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #333333;
}

/* Responsive - Mobile */
@media only screen and (max-width: 768px) {
  .auth-card-wide {
    padding: 2em 1.5em 1.8em 1.5em;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }

  .form-section-title {
    font-size: 1em;
    margin: 1.5em 0 0.8em 0;
  }
}

@media only screen and (max-width: 480px) {
  .auth-card-wide {
    padding: 1.5em 1.2em 1.5em 1.2em;
  }

  .auth-header h2 {
    font-size: 1.6em;
  }

  .auth-subtitle {
    font-size: 0.88em;
  }
}
