.auth-page {
  min-height: 100vh;
  padding: 0;
  background: #08181d;
}

.auth-page-background {
  position: relative;
  overflow: hidden;
}

.auth-page-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 24, 29, 0.58), rgba(8, 24, 29, 0.16));
  z-index: 0;
}

.auth-card {
  width: 100%;
  animation: fadeInUp 0.3s ease;
}

.auth-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  z-index: -1;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 24px;
}

.auth-panel-overlay {
  position: relative;
  z-index: 1;
}

.auth-card-hero {
  max-width: 460px;
  background: linear-gradient(150deg, rgba(13, 47, 56, 0.93), rgba(17, 61, 57, 0.88));
  border: 1px solid rgba(165, 223, 224, 0.2);
  color: #eaf4f5;
  box-shadow: 0 24px 38px rgba(1, 10, 12, 0.4);
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-title-accent {
  color: #62aeb4;
}

.auth-subtitle {
  margin-top: 8px;
  margin-bottom: 30px;
  color: rgba(233, 243, 245, 0.84);
}

.auth-form-title {
  margin-bottom: 12px;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 700;
}

.auth-card-hero .form-label {
  color: rgba(233, 243, 245, 0.9);
  font-size: 0.95rem;
}

.auth-card-hero .form-input {
  border-color: rgba(178, 223, 225, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f3f8f9;
}

.auth-card-hero .form-input::placeholder {
  color: rgba(222, 238, 240, 0.75);
}

.auth-card-hero .form-input:focus {
  outline-color: rgba(88, 170, 177, 0.3);
  border-color: #66b2b8;
}

.auth-submit-button {
  margin-top: 2px;
  background: #4eaab2;
}

.auth-submit-button:hover {
  background: #3f98a0;
}

.form-feedback {
  min-height: 18px;
  margin-top: -2px;
  color: #ffd1d1;
  font-size: 0.86rem;
}

.auth-note {
  margin-top: 20px;
  color: rgba(234, 245, 246, 0.82);
  font-size: 0.9rem;
}

.page-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-button {
  min-height: 50px;
}

.invoer-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
}

.driver-tag {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  background: #fff;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.overview-text {
  color: var(--color-muted);
}

.week-builder {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  background: #fcfefe;
}

.mode-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mode-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  font-size: 0.9rem;
}

.mode-option input {
  accent-color: var(--color-primary);
}

.week-controls {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.week-controls.is-visible {
  display: flex;
}

.week-start-group {
  min-width: 210px;
}

.week-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.week-date-input {
  min-width: 190px;
}

@media (max-width: 700px) {
  .action-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    width: 100%;
  }

  .toolbar-actions .button {
    flex: 1;
  }

  .mode-switch {
    flex-direction: column;
  }

  .week-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 980px) {
  .auth-panel {
    padding: 16px;
    min-height: 100vh;
    justify-content: center;
  }

  .auth-card-hero {
    max-width: 520px;
  }

  .auth-form-title {
    font-size: 1.55rem;
  }
}
