/* ============================================
   UNSUBSCRIBE PAGE
   ============================================ */

.unsub-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 80px;
}

.unsub-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Header */
.unsub-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.unsub-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(230, 98, 96, 0.1);
  border: 1px solid rgba(230, 98, 96, 0.2);
  color: var(--color-error);
  display: flex;
  align-items: center;
  justify-content: center;
}

.unsub-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.unsub-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Field */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.925rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.2s, opacity 0.2s, transform 0.1s;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--interactive-primary);
  color: var(--interactive-text);
}

.btn--primary:hover:not(:disabled) {
  background: var(--interactive-hover);
}

.btn--danger {
  background: var(--color-error);
  color: #fff;
}

.btn--danger:hover:not(:disabled) {
  background: #cc4f4d;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--ghost:hover:not(:disabled) {
  background: var(--interactive-subtle);
  color: var(--text-primary);
}

/* Feedback states */
.feedback-state {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
}

.feedback-state--success {
  background: rgba(82, 183, 136, 0.08);
  border: 1px solid rgba(82, 183, 136, 0.25);
}

.feedback-state--success .feedback-icon {
  color: var(--color-success);
  background: rgba(82, 183, 136, 0.15);
}

.feedback-state--warn {
  background: rgba(249, 219, 109, 0.08);
  border: 1px solid rgba(249, 219, 109, 0.25);
}

.feedback-state--warn .feedback-icon {
  color: var(--color-warning);
  background: rgba(249, 219, 109, 0.15);
}

.feedback-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feedback-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.feedback-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================
   MODAL
   ============================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: backdrop-in 0.15s ease;
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  animation: modal-in 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(230, 98, 96, 0.1);
  border: 1px solid rgba(230, 98, 96, 0.2);
  color: var(--color-error);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.modal-body strong {
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-all;
}

.modal-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.modal-actions .btn {
  flex: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
  .unsub-card {
    padding: 28px 20px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }
}
