/* ═══════════════════════════════════════
   AlarmO'Clock — Cookie Consent Banner
   ═══════════════════════════════════════ */

#alarmoCookieBanner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 32px);
  max-width: 620px;
  z-index: 99999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.4s ease;
  pointer-events: none;
}

#alarmoCookieBanner.acb-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

#alarmoCookieBanner.acb-hiding {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.acb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 40px rgba(100,60,180,0.18);
}

.acb-text p {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.acb-text a {
  color: var(--accent);
  text-decoration: underline;
  white-space: nowrap;
}

.acb-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.acb-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border: none;
}

.acb-reject {
  background: rgba(124,92,191,0.08);
  color: var(--muted);
  border: 1px solid rgba(124,92,191,0.2);
}
.acb-reject:hover {
  background: rgba(124,92,191,0.14);
  color: var(--text);
}

.acb-accept {
  background: var(--accent);
  color: white;
}
.acb-accept:hover {
  background: #6a4aad;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,92,191,0.3);
}

/* ── Cookie settings link in footer ── */
.footer-cookie-link {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.footer-cookie-link:hover { color: var(--text); }

/* ── Mobile ── */
@media (max-width: 600px) {
  #alarmoCookieBanner {
    bottom: 16px;
    width: calc(100% - 24px);
  }
  .acb-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .acb-actions { width: 100%; }
  .acb-btn { flex: 1; }
}
