/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #0f172a;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: #f1f5f9;
}

.auth-card {
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(148, 163, 184, 0.2);
}

.auth-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #0f172a;
}

.auth-subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
}

.auth-form {
  margin-top: 1.5rem;
}

.auth-field {
  margin-top: 1rem;
}

.auth-field:first-child {
  margin-top: 0;
}

.auth-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #334155;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #0f172a;
  background: #fff;
}

.auth-input:focus {
  outline: 2px solid #99f6e4;
  outline-offset: 1px;
  border-color: #14b8a6;
}

.auth-button {
  width: 100%;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #0d9488;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-button:hover {
  background: #0f766e;
}

.auth-flash {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.auth-flash.alert {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.auth-flash.notice {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.auth-footer {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
}

.auth-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  color: #115e59;
  text-decoration: underline;
}
