/* Système de consentement aux cookies - Style */

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.consent-content {
  background: #0f172a;
  border: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.consent-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.consent-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #a78bfa;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.consent-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.consent-description {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.consent-details {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.consent-cookie-type {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.consent-cookie-type:last-child {
  margin-bottom: 0;
}

.consent-cookie-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.consent-cookie-icon svg {
  width: 100%;
  height: 100%;
}

.consent-cookie-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.consent-cookie-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0 0 0.25rem 0;
}

.consent-cookie-status {
  font-size: 0.75rem;
  margin: 0;
}

.consent-required {
  color: #10b981;
}

.consent-optional {
  color: #10b981;
}

.consent-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  margin: 1.25rem 0 1.5rem 0;
}

.consent-link {
  color: #a78bfa;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.consent-link:hover {
  color: #c4b5fd;
}

.consent-accept-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #8B5CF6;
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.consent-accept-btn:hover {
  background: #7c3aed;
  box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.5);
}

.consent-refuse-wrapper {
  text-align: center;
  margin-top: 0.75rem;
}

.consent-refuse-link {
  font-size: 0.75rem;
  color: #475569;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.consent-refuse-link:hover {
  color: #94a3b8;
}

.consent-compliance {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin: 0.75rem 0 0 0;
}

/* Responsive */
@media (max-width: 640px) {
  .consent-modal {
    padding: 0.5rem;
  }

  .consent-content {
    padding: 1rem;
  }

  .consent-title {
    font-size: 1rem;
  }

  .consent-description {
    font-size: 0.8125rem;
  }
}
