/* =============================================
   DeskBreak – Custom Styles
   ============================================= */

/* Auth pages */
.auth-page {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  min-height: 100vh;
}

/* Break overlay – full viewport display for coworkers to see */
.break-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: background 0.4s ease;
}

.break-overlay.active {
  display: flex;
}

.break-big-icon {
  font-size: clamp(80px, 15vw, 160px);
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.break-big-label {
  font-size: clamp(36px, 8vw, 90px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.break-sublabel {
  font-size: clamp(18px, 3vw, 36px);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.break-timer {
  font-size: clamp(28px, 5vw, 60px);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.25);
  padding: 0.4em 1em;
  border-radius: 50px;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

/* Break selection buttons */
.break-btn {
  border: none;
  border-radius: 1rem;
  background: var(--btn-color, #374151);
  color: white;
  padding: 1rem 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.break-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0.9;
}

.break-btn:active {
  transform: translateY(0);
}

.break-btn-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.break-btn-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Status card */
.status-card {
  border-left: 5px solid #3b82f6 !important;
}

/* Live timer blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.live-timer {
  animation: blink 2s step-end infinite;
}

/* Table tweaks */
.table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Navbar shadow */
.navbar {
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Rounded card tweaks */
.card {
  overflow: hidden;
}

/* WS status badge */
#wsStatus {
  font-size: 0.75rem;
}

/* Alert tweaks */
.messages-container {
  margin-bottom: 1.5rem;
}

/* Custom reason highlight */
.custom-reason-badge {
  font-style: italic;
}
