/* SBB Clock Design - Authentic Proportions */
.sbb-clock-container {
  width: 71vmin;
  height: 71vmin;
  background-color: transparent;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.sbb-clock-face {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Center pin - Removed as per request */
.sbb-clock-face::after {
  display: none;
}

/* Hands */
.sbb-clock-hand {
  position: absolute;
  left: 50%;
  background-color: #000;
}

.sbb-clock-hand-hour {
  width: 4.5vmin;
  height: 40%; /* Augmenté pour inclure le talon */
  margin-left: -2.25vmin;
  z-index: 7;
  transform-origin: 50% 80%; /* Pivot à 80% du haut, donc 20% de talon */
  bottom: 42%; /* Calage pour que le pivot soit à 50% du cadran (50 - 0.2*40) */
}

.sbb-clock-hand-minute {
  width: 3vmin;
  height: 55%; /* Augmenté pour inclure le talon */
  margin-left: -1.5vmin;
  z-index: 8;
  transform-origin: 50% 81.8%; /* Talon proportionnel */
  bottom: 40%; /* Calage pour pivot à 50% du cadran */
}

.sbb-clock-hand-second {
  width: 0.8vmin;
  height: 44%; /* Augmenté pour allonger la queue */
  margin-left: -0.4vmin;
  background-color: #eb0000; 
  z-index: 9;
  transform-origin: 50% 72.7%; /* Talon plus long (~27% de l'aiguille) */
  bottom: 38%; /* Axe centré : 50% - (27.3% de 44%) = 38% */
}

/* Red Disc on second hand */
.sbb-clock-hand-second::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 7.5vmin;
  height: 7.5vmin;
  background-color: #eb0000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sbb-clock-marks {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Clock Marks */
.sbb-clock-mark {
  position: absolute;
  top: 0; /* Important: start at top */
  width: 0.9vmin;
  height: 3.5vmin;
  background-color: #000;
  left: 50%;
  margin-left: -0.45vmin;
  transform-origin: 50% 35.5vmin;
}

.sbb-clock-mark-hour {
  width: 2.4vmin;
  height: 9vmin;
  margin-left: -1.2vmin;
}
