#local-clock {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: -2px;
}

.clock-card-time {
  /* Original large clock for local/home reference */
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
  color: #0d6efd;
}

.clock-card-time-compact {
  /* New class for tracked clocks */
  font-size: 1.8rem; /* Smaller font size */
  font-weight: 700;
  color: #0d6efd;
}

.card {
  transition: transform 0.2s ease-in-out;
  cursor: grab;
}

.card:active {
  cursor: grabbing;
}

.card:hover {
  transform: translateY(-3px);
}

.card.border-home {
  border: 2px solid #ffc107 !important;
  background-color: #fffdf5;
}

[data-bs-theme="dark"] .card.border-home {
  background-color: rgba(255, 193, 7, 0.05);
}

.btn-remove {
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  margin-top: -0.5rem;
}

.flag-icon {
  width: 20px;
  height: auto;
  vertical-align: middle;
}
/* Analogue Clock Styles */
.analog-clock {
  width: 60px;
  height: 60px;
  border: 2px solid #0d6efd;
  border-radius: 50%;
  position: relative;
  background: var(--bs-body-bg);
  flex-shrink: 0;
}

.analog-clock.tracked-analog-clock {
  /* Smaller analog clock for tracked cards */
  width: 45px; /* Reduced size */
  height: 45px; /* Reduced size */
  border-width: 1px; /* Thinner border */
}

.analog-clock.main-clock {
  width: 120px;
  height: 120px;
  border-width: 4px;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: 50% 100%;
  translate: -50% 0;
  background: var(--bs-body-color);
  border-radius: 4px;
}

.hour {
  width: 3px;
  height: 25%;
  z-index: 3;
}

.minute {
  width: 2px;
  height: 35%;
  z-index: 2;
}

.second {
  width: 1.5px;
  height: 40%;
  background: #dc3545;
  z-index: 1;
}

/* Compact Overrides for Tracked Clocks */
.analog-clock.tracked-analog-clock .hour {
  width: 2px;
  height: 22%;
}
.analog-clock.tracked-analog-clock .minute {
  width: 1.5px;
  height: 32%;
}
.analog-clock.tracked-analog-clock .second {
  width: 0.8px;
  height: 38%;
}

/* Proportional Overrides for Main Clock */
.main-clock .hour {
  width: 4px;
  height: 30%;
}
.main-clock .minute {
  width: 3px;
  height: 40%;
}
.main-clock .second {
  width: 2px;
  height: 45%;
}

.center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--bs-body-color);
  border-radius: 50%;
  translate: -50% -50%;
  z-index: 4;
}

.analog-clock.tracked-analog-clock .center-dot {
  width: 4px; /* Smaller dot */
  height: 4px; /* Smaller dot */
}
