.modal-overlay {
  position: fixed; inset: 0; top: 32px; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  animation: modalFadeIn 0.15s ease both;
}
.modal-card {
  background: #111; border: 1px solid #222; border-radius: 16px;
  padding: 36px 44px; min-width: 380px;
  display: flex; flex-direction: column; gap: 24px;
  animation: modalSlideIn 0.15s ease both;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-title {
  font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px;
}
.modal-close-btn {
  margin-top: 8px; padding: 11px; border-radius: 8px;
  background: #151515; border: 1px solid #222;
  color: #aaa; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.15s ease;
}
.modal-close-btn:hover { background: #1e1e1e; transform: translateY(-1px); }
.modal-logout-btn {
  margin-top: 8px; padding: 11px; border-radius: 8px;
  background: #1a0808; border: 1px solid #3a1515;
  color: #f87171; font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.modal-logout-btn:hover {
  background: #2a1010;
  border-color: #5a2020;
  transform: translateY(-1px);
}
.modal-divider { border-top: 1px solid #1e1e1e; }
.modal-placeholder {
  text-align: center; padding: 24px 0;
  color: #444; font-size: 14px; line-height: 1.6;
}
.modal-placeholder-icon { font-size: 48px; display: block; margin-bottom: 12px; opacity: 0.4; }
.settings-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
  transition: color 0.2s ease;
}
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(128,128,128,0.3);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.toggle-switch:hover {
  background: rgba(128,128,128,0.4);
}
.toggle-switch:active .toggle-circle {
  width: 26px;
}
.toggle-circle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), width 0.15s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.delete-account-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #dc2626;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.delete-account-btn:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-1px);
}
.delete-account-btn:active {
  transform: translateY(0);
}
.delete-modal-warning {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  color: #fca5a5;
  font-size: 14px;
  line-height: 1.6;
}
.delete-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.delete-modal-btn-danger {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: #dc2626;
  border: 1px solid #b91c1c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.delete-modal-btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}
.delete-modal-btn-safe {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: #151515;
  border: 1px solid #222;
  color: #aaa;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.delete-modal-btn-safe:hover {
  background: #1e1e1e;
  transform: translateY(-1px);
}
.delete-modal-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: #0a0a0a;
  border: 1px solid #222;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.delete-modal-input:focus {
  outline: none;
  border-color: #dc2626;
  background: #0f0f0f;
}
.delete-modal-link {
  color: #3b82f6;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 13px;
}
.delete-modal-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}
.delete-modal-contact {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #93c5fd;
}
.delete-modal-contact a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}
.delete-modal-contact a:hover {
  text-decoration: underline;
}
