/* ==========================================================
   MyWatchedMovies – Cookie Consent Banner
   Author: Jan T.
   Version: 1.0
   Description: GDPR-compliant cookie consent banner (ad-free)
   ========================================================== */

.mwm-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #1b1e20;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.mwm-cookie__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mwm-cookie__text {
  flex: 1;
  line-height: 1.5;
  font-size: 14px;
}

.mwm-cookie details {
  margin-top: 8px;
}

.mwm-cookie summary {
  cursor: pointer;
  color: var(--mwm-blue-3, #80B5D2);
  font-weight: 500;
  user-select: none;
}

.mwm-cookie summary:hover {
  text-decoration: underline;
}

.mwm-cookie label {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.mwm-cookie label input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.mwm-cookie label input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.mwm-cookie__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mwm-btn {
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mwm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.mwm-btn--primary {
  background: var(--mwm-blue-1, #016ba5);
  color: #fff;
}

.mwm-btn--primary:hover {
  background: var(--mwm-blue-2, #4190BC);
}

.mwm-btn--ghost {
  background: #333;
  color: #fff;
}

.mwm-btn--ghost:hover {
  background: #444;
}

.mwm-cookie a {
  color: var(--mwm-blue-3, #80B5D2);
  text-decoration: underline;
}

.mwm-cookie a:hover {
  color: var(--mwm-blue-2, #4190BC);
}

.mwm-hidden {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .mwm-cookie__inner {
    flex-direction: column;
  }
  
  .mwm-cookie__actions {
    width: 100%;
  }
  
  .mwm-btn {
    flex: 1;
    min-width: 0;
  }
}

