/* Unsubscribe Page Specific Styles */
.unsub-main {
  min-height: calc(100vh - 450px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.unsub-panel {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--border-light, rgba(15, 137, 148, 0.2));
  border-radius: 12px;
  background: var(--surface-panel, rgba(255, 255, 255, 0.95));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.unsub-card h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--brand-dark, #16242c);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.unsub-card .lead {
  font-size: 1rem;
  color: var(--muted, #5a6b7c);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.unsub-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.unsub-input-group {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.unsub-input {
  flex: 1;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
}

.unsub-btn {
  padding: 0.75rem 1.4rem !important;
  font-size: 0.95rem !important;
  background: #dc2626 !important; /* Rouge d'action désinscription claire */
}

.unsub-btn:hover {
  background: #b91c1c !important;
}

.unsub-legal-note {
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  line-height: 1.4;
  margin: 0;
}

.unsub-status {
  font-size: 0.9rem;
  min-height: 1.4rem;
  font-weight: 500;
}

.unsub-footer-links {
  border-top: 1px solid rgba(15, 137, 148, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.unsub-return-btn {
  font-size: 0.88rem;
}

.unsub-page-notice {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .unsub-input-group {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Dark theme specific overrides */
:root.theme-dark .unsub-panel {
  background: rgba(11, 20, 29, 0.95);
  border-color: rgba(74, 114, 136, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

:root.theme-dark .unsub-card h1 {
  color: #e1edf5;
}

:root.theme-dark .unsub-card .lead {
  color: #98aebd;
}

:root.theme-dark .unsub-input {
  background: rgba(8, 16, 24, 0.95) !important;
  border-color: rgba(74, 114, 136, 0.55) !important;
  color: #e1edf5 !important;
}

:root.theme-dark .unsub-input:focus {
  border-color: var(--brand-teal) !important;
}

:root.theme-dark .unsub-legal-note {
  color: #98aebd;
}

:root.theme-dark .unsub-footer-links {
  border-top-color: rgba(74, 114, 136, 0.4);
}
