@font-face {
  font-family: 'DM Sans';
  src: url("/assets/dm-sans-latin-ext-400-700.woff2") format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  src: url("/assets/dm-sans-latin-400-700.woff2") format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Page --- */

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: #FAF9F6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Layout --- */

.signin-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Dark Hero Band --- */

.signin-hero {
  background-color: #292524;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}

.signin-hero-logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
}

.signin-hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #F5F5F4;
  letter-spacing: -0.02em;
  margin: 0;
}

/* --- Content Area --- */

.signin-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
}

/* --- Card --- */

.signin-card {
  width: 100%;
  max-width: 400px;
  background-color: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* --- Subtitle --- */

.signin-subtitle {
  font-size: 0.9rem;
  color: #A8A29E;
  margin: 0 0 1.75rem;
  text-align: center;
}

/* --- Form Fields --- */

.signin-field {
  margin-bottom: 1rem;
}

.signin-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78716C;
  margin-bottom: 0.4rem;
}

.signin-field input {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #1C1917;
  background-color: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.signin-field input::placeholder {
  color: #A8A29E;
}

.signin-field input:focus {
  border-color: #D97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* --- Remember Me --- */

.signin-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.signin-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #D97706;
  cursor: pointer;
}

.signin-remember label {
  font-size: 0.85rem;
  font-weight: 400;
  color: #78716C;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
}

/* --- Submit (Amber) --- */

.signin-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background-color: #D97706;
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.25);
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.signin-form input[type="submit"]:hover {
  background-color: #B45309;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.signin-form input[type="submit"]:active {
  transform: scale(0.98);
}

/* --- Footer --- */

.signin-footer {
  font-size: 0.78rem;
  color: #A8A29E;
  text-align: center;
  margin: 1.5rem 0 0;
}

/* --- Flash Alerts --- */

.signin-card .alert {
  border: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
