﻿:root {
  --v-primary-base: #d7893b;
  --v-accent-base: #b13f1a;
  --v-success-base: #86b809;
  --v-info-base: #9155fd;
  --v-warning-base: #e6b371;
  --v-error-base: #ff4c51;
  --v-background: #f4f5fa;
  --v-surface: #ffffff;
  --v-text-primary: rgba(94, 86, 105, 0.87);
  --v-text-secondary: rgba(94, 86, 105, 0.68);
  --v-outline: rgba(94, 86, 105, 0.22);
  --v-outline-strong: rgba(94, 86, 105, 0.38);
  --v-shadow: 0 4px 18px 0 rgba(94, 86, 105, 0.1);
  --v-radius: 6px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--v-text-secondary);
  background: var(--v-background);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
  text-decoration: none;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.font-weight-semibold {
  font-weight: 600;
}

.surface-card {
  background: var(--v-surface);
  border-radius: var(--v-radius);
  box-shadow: var(--v-shadow);
}

.btn-primary {
  width: 100%;
  border: 0;
  border-radius: var(--v-radius);
  height: 38px;
  padding: 0 18px;
  color: #fff;
  background: var(--v-primary-base);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01875rem;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(0.96);
}

.form-input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--v-outline-strong);
  border-radius: var(--v-radius);
  background: transparent;
  color: var(--v-text-primary);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input::placeholder {
  color: rgba(94, 86, 105, 0.48);
}

.form-input:focus {
  border-color: var(--v-primary-base);
  box-shadow: 0 0 0 1px var(--v-primary-base);
}

.alert-error {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--v-radius);
  border: 1px solid rgba(255, 76, 81, 0.35);
  background: rgba(255, 76, 81, 0.08);
  color: #b4232e;
  font-size: 0.875rem;
}
/* Field labels — dark on all pages */
label {
    color: rgba(94, 86, 105, 0.9) !important;
    font-weight: 600;
}

/* Placeholder — light color */
input::placeholder,
textarea::placeholder,
select::placeholder {
    color: rgba(94, 86, 105, 0.35) !important;
    font-weight: 400;
}

/* Typed input text — dark color */
input,
textarea,
select {
    color: rgba(94, 86, 105, 0.9) !important;
}

/* Modal field labels specifically */
.school-create-modal__field label,
.student-modal__field label,
.driver-modal__field label,
[class*="-modal__field"] label,
[class*="-modal"] label {
    color: rgba(94, 86, 105, 0.9) !important;
    font-weight: 600;
}

/* All modal inputs typed text */
.school-create-modal__field input,
.student-modal__field input,
.driver-modal__field input,
[class*="-modal__field"] input,
[class*="-modal__field"] textarea,
[class*="-modal__field"] select,
[class*="-modal"] input,
[class*="-modal"] textarea,
[class*="-modal"] select {
    color: rgba(94, 86, 105, 0.9) !important;
}

[class*="-modal"] input::placeholder,
[class*="-modal"] textarea::placeholder {
    color: rgba(94, 86, 105, 0.35) !important;
}