/* Authentication Card Component */

.auth-card {
  background-color: #ffffff;
  border: 1.5px solid var(--md-sys-color-outline);
  border-radius: 8px;
  padding: 3rem 2.5rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-family: var(--md-sys-typescale-headline-large-font-family);
  font-size: var(--md-sys-typescale-headline-large-font-size);
  font-weight: var(--md-sys-typescale-headline-large-font-weight);
  color: var(--md-sys-color-on-background);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: var(--md-sys-typescale-body-medium-font-size);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--md-sys-color-outline-variant);
}

.divider span {
  background-color: var(--md-sys-color-background);
  padding: 0 1rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: var(--md-sys-typescale-body-medium-font-size);
  position: relative;
  z-index: 1;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface-variant);
  font-size: var(--md-sys-typescale-body-medium-font-size);
}

.auth-footer a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .auth-header h1 {
    font-size: var(--md-sys-typescale-headline-medium-font-size);
  }

  .auth-card {
    padding: 1.5rem 1rem;
  }
}
