/* ============================================================
   public/style.css 
   ============================================================ */

/* ============================================================
   🌙 NOUNOU ASSIST — THEME PASTEL CHOCOLAT
============================================================ */

#app-root {
  position: relative;
  z-index: 1;
}

:root {
  /* ===============================
     THEME NOUNOU — PASTEL CHOCOLAT
  =============================== */

  --bg: #a87968;
  --bg-light: #b88978;

  --card: #6a463b;
  --card-dark: #5a3830;
  --card-darker: #3a241f;

  --text: #fff4ec;
  --text-soft: #ead5c9;
  --text-dark: #2f211c;

  --border-soft: rgba(255, 235, 220, 0.14);
  --shadow-soft: 0 8px 22px rgba(45, 25, 18, 0.24);
  --shadow: var(--shadow-soft);

  --accent: #6b4238;
  --accent-hover: #7a4b40;

  --danger: #b84747;
  --archive: #6f55b8;

  --grad: linear-gradient(135deg, #7a4b40, #9a6858);

  --radius: 18px;
}

/* ============================================================
   GLOBAL
============================================================ */

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(150, 108, 92, 0.55), rgba(150, 108, 92, 0.55)),
    var(--bg);
  color: var(--text);
}

/* ============================================================
   TITRES
============================================================ */

h1,
h2 {
  margin: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================================
   HEADER
============================================================ */

.header {
  padding: 20px;
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
}

/* ============================================================
   CARD PRINCIPALE
============================================================ */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

/* ============================================================
   BOUTON
============================================================ */

.btn {
  background: var(--grad);
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(45, 25, 18, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* ============================================================
   BLOC ACTION (ex: ajouter contrat)
============================================================ */

.big-action {
  background: var(--card);
  border-radius: var(--radius);
  margin: 20px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.big-action:hover {
  background: var(--accent-hover);
  transform: scale(1.01);
}

.big-action span {
  color: var(--text);
  font-size: 18px;
}

/* ============================================================
   INPUT
============================================================ */

input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  margin-bottom: 10px;
  background: var(--card-dark);
  color: var(--text);
  box-sizing: border-box;
}

input::placeholder {
  color: rgba(255, 244, 236, 0.65);
}

input:focus {
  outline: none;
  border-color: rgba(255, 235, 220, 0.32);
  box-shadow: 0 0 0 3px rgba(255, 235, 220, 0.08);
}

/* ============================================================
   LOGIN CARD (réutilisable)
============================================================ */

.login-card {
  width: 320px;
  margin: auto;
  margin-top: 150px;
  padding: 30px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
  color: var(--text);
}