/* Consent Banner (clean bottom bar) */

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--brand-blackboard);
  color: var(--brand-white);
  padding: 16px 20px;
  border-top: 4px solid var(--brand-red);
  z-index: 1000;
  display: none;
  font-family: var(--font-primary);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Disable popup mode visuals (kept for compatibility) */
.consent-banner.popup-mode { all: unset; }
.consent-banner.popup-mode.show { all: unset; }

.consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

/* Backdrop unused for bottom bar */
.consent-backdrop { display: none !important; }

.consent-banner h3 {
  font-family: var(--font-caps);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--brand-white);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-caps);
}

.consent-banner p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.consent-banner .benefit-text {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.consent-actions .btn {
  background: var(--brand-red);
  color: var(--brand-white);
  border: 2px solid var(--brand-red);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-caps);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: 600;
}

/* Remove previous pulse animations */

/* No shimmer */

.consent-actions .btn:hover {
  background: #d64d21;
  border-color: #d64d21;
  transform: translateY(-1px);
}

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

.consent-actions .btn-text {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  transform: translateY(0);
  position: relative;
  padding: 8px 0;
  text-align: left;
  font-weight: 400;
}

.consent-actions .btn-text:hover {
  color: var(--brand-red);
  transform: translateY(-1px);
}

.consent-actions .btn-text:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
  color: var(--brand-red);
}

.consent-actions .btn:focus {
  outline: 2px solid var(--brand-white);
  outline-offset: 2px;
}

/* Remove floating particles keyframes (no longer used) */

/* Deprecated success animation (using global toast now) */

/* Deprecated consent success notification styles removed */

/* No extra entrance animation beyond translateY */

/* Remove stagger animations */

@media (max-width: 768px) {
  .consent-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-actions .btn,
  .consent-actions .btn-secondary,
  .consent-actions .btn-text {
    width: 100%;
    text-align: center;
  }
}

/* Accessibility - Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: opacity 0.3s ease;
    transform: none;
  }
  .consent-actions .btn {
    animation: none;
  }
  .consent-actions .btn:hover {
    transform: none;
  }
}

/* GDPR Cookie Preferences Styles */
.consent-details {
  margin: 8px 0 4px;
  font-size: 0.85rem;
}

.privacy-link {
  color: var(--brand-red);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #d64d21;
}

.btn-secondary {
  background: transparent;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-caps);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--brand-red);
  color: var(--brand-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 96, 43, 0.2);
}

.btn-secondary:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* Cookie Preferences Modal */
.cookie-modal .modal-content {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-category {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-red);
}

.cookie-status.required {
  background: #666;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cookie Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #666;
  transition: 0.3s;
  border-radius: 30px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .toggle-slider {
  background-color: var(--brand-red);
}

.cookie-toggle input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

.modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Cookie Settings Link */
.cookie-settings-link,
.privacy-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.cookie-settings-link:hover,
.privacy-link:hover {
  color: var(--brand-red);
  cursor: pointer;
}

/* Mobile responsiveness for cookie modal */
@media (max-width: 768px) {
  .cookie-modal .modal-content {
    width: 95%;
    max-height: 90vh;
    margin: 5vh auto;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .cookie-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .consent-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* Modal Save Preferences Button Styling (Secondary) */
.modal-actions .btn {
  background: transparent;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-caps);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.modal-actions .btn:hover {
  background: var(--brand-red);
  color: var(--brand-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 96, 43, 0.2);
}

.modal-actions .btn:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* Modal Accept All Button Styling (Primary) */
.modal-actions .btn-secondary {
  background: var(--brand-red);
  color: var(--brand-white);
  border: 2px solid var(--brand-red);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-caps);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.modal-actions .btn-secondary:hover {
  background: #d64d21;
  border-color: #d64d21;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 96, 43, 0.2);
}

.modal-actions .btn-secondary:focus {
  outline: 2px solid var(--brand-white);
  outline-offset: 2px;
} 