*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose: #d16b8f;
  --rose-dark: #a84b6c;
  --rose-light: #fdeef2;
  --gold: #c9a27a;
  --green: #4f9d6e;
  --red: #d1495b;
  --orange: #e08e45;
  --bg: #fff8f6;
  --white: #fff;
  --gray: #8a7378;
  --dark: #3a2c2f;
  --shadow: 0 2px 10px rgba(209, 107, 143, .12);
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--dark);
  min-height: 100vh;
}

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
}
.auth-box {
  background: #fff;
  border-radius: 22px;
  padding: 32px 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}
.auth-logo { text-align: center; font-size: 48px; margin-bottom: 8px; }
.auth-title { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-sub { text-align: center; font-size: 13px; color: var(--gray); margin-bottom: 24px; }

.auth-msg {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.auth-msg.error { background: #fdecee; color: var(--red); }
.auth-msg.ok { background: #eef7f0; color: var(--green); }
.auth-msg.warn { background: #fdf3e7; color: var(--orange); }

label { font-size: 13px; font-weight: 600; color: #5c4a4e; display: block; margin-bottom: 4px; }

input, select {
  padding: 10px 12px;
  border: 1.5px solid #f0dde2;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
  margin-bottom: 12px;
}
input:focus, select:focus { border-color: var(--rose); }

.btn-primary {
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.btn-primary:hover { background: var(--rose-dark); }
.btn-primary:disabled { opacity: .55; cursor: default; }

.btn-ghost {
  background: none;
  border: none;
  color: var(--rose);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.auth-foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--gray); }
.auth-foot a { color: var(--rose); font-weight: 700; text-decoration: none; }

.hidden { display: none !important; }
