/* ============================================================
   NUVASTAY — Design Tokens & Global Reset
   ============================================================ */

:root {
  /* --- Colors --- */
  --color-primary:        #E3C06A;
  --color-primary-hover:  #C9A552;
  --color-secondary:      #3F3F3F;
  --color-accent:         #59616B;

  /* --- Backgrounds --- */
  --bg-main:              #121212;
  --bg-secondary:         #1E1E1E;
  --bg-card:              #262626;

  /* --- Text --- */
  --text-primary:         #F5F5F5;
  --text-secondary:       #B5B5B5;
  --text-on-primary:      #1A1A1A;
  --text-muted:           #5A5A5A;

  /* --- State colors --- */
  --color-success:        #4CAF50;
  --color-warning:        #FFB020;
  --color-error:          #E5484D;
  --color-info:           #3A8DFF;

  /* --- Borders --- */
  --border-subtle:        rgba(255, 255, 255, 0.08);
  --border-primary:       rgba(227, 192, 106, 0.3);

  /* --- Border radii --- */
  --radius-sm:            6px;
  --radius-md:            10px;
  --radius-lg:            14px;
  --radius-xl:            20px;

  /* --- Shadows --- */
  --shadow-sm:            0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:            0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-primary:       0 4px 16px rgba(227, 192, 106, 0.2);

  /* --- Typography --- */
  --font-display:         'Inter', sans-serif;
  --font-title:           'Montserrat', sans-serif;

  /* --- Transitions --- */
  --transition:           0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  font-family: var(--font-display);
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-title); margin: 0; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

/* --- Form feedback (shared across all pages) --- */
.form-feedback {
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 14px;
  margin-bottom: 4px;
}

.form-feedback--hidden  { display: none; }

.form-feedback--danger {
  border-color: rgba(229, 72, 77, 0.35);
  background:   rgba(229, 72, 77, 0.1);
  color:        #FF7275;
}

.form-feedback--success {
  border-color: rgba(227, 192, 106, 0.35);
  background:   rgba(227, 192, 106, 0.08);
  color:        var(--color-primary);
}

/* --- Visually hidden (accessibility) --- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
