/* ===========================
   BASE
=========================== */
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  position: relative;
  transition: background-image 0.4s ease;
}

/* ===========================
   FOND EXTÉRIEUR (ÉTATS)
=========================== */
body.free {
  background: url("images/fond-libre.jpg") no-repeat center center fixed;
  background-size: cover;
}

body.busy {
  background: url("images/fond-occupe.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* Voile sombre pour lisibilité */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: -1;
  pointer-events: none;
}

/* ===========================
   EN-TÊTE
=========================== */
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 40px;
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
}

/* ===========================
   CADRE PRINCIPAL
=========================== */
.box {
  position: relative;
  margin: 40px;
  padding: 40px;
  min-height: 320px;

  background-color: #ffffff;

  /* Liseret intérieur + ombre externe */
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.08),
    0 20px 50px rgba(0,0,0,0.15);

  border-radius: 20px;
}

/* Liseret selon l’état */
body.free .box {
  box-shadow:
    inset 0 0 0 24px rgba(20, 90, 55, 1),
    0 20px 50px rgba(0,0,0,0.15);
}

body.busy .box {
  box-shadow:
    inset 0 0 0 24px rgba(120, 15, 15, 1),
    0 20px 50px rgba(0,0,0,0.15);
}


/* ===========================
   TEXTE
=========================== */
.status {
  font-size: 56px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
}

.time {
  font-size: 32px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.note {
  font-size: 28px;
  line-height: 1.5;
  color: #333;
  white-space: pre-line;
}

/* ===========================
   LOGO
=========================== */
#logo {
  position: absolute;
  bottom: 24px;
  right: -50px;

  width: 360px;
  height: 180px;

  object-fit: contain;
  background: transparent;
}
/* ===========================
   CONTOUR TEXTE (HEURE & SPOT)
=========================== */

#clock,
#spotName {
  color: #000000; /* texte noir */
}

