/* ==========================================================================
   Manage My Profile Page Styles (Matching Image 2)
   URL: commerce.paltalk.com/mpt/ControllerServlet?RequestId=MyPalTalk.EditProfile
   ========================================================================== */

.profile-edit-container {
  max-width: 860px;
  width: 100%;
  margin: 28px auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Top Banner: "Complete your profile" (Image 2)
   -------------------------------------------------------------------------- */
.profile-banner-card {
  position: relative;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  border-radius: 6px;
  padding: 26px 24px 22px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
  overflow: hidden;
  margin-bottom: 32px;
}

.profile-banner-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.profile-banner-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.banner-badge-left {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  opacity: 0.35;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.banner-badge-right {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  opacity: 0.35;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.banner-title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.banner-progress-track {
  max-width: 320px;
  width: 100%;
  height: 22px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  margin: 0 auto 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}

.banner-progress-bar {
  height: 100%;
  background: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.4s ease;
  position: relative;
}

.progress-percent {
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.2px;
}

.banner-subtitle {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

/* --------------------------------------------------------------------------
   Settings Section (Image 2)
   -------------------------------------------------------------------------- */
.settings-section {
  width: 100%;
}

.settings-title {
  font-size: 22px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.settings-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.settings-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.subhead-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-mode-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-subhead-cancel,
.btn-footer-cancel {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-subhead-cancel:hover,
.btn-footer-cancel:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.btn-subhead-save,
.btn-footer-save {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid #0284c7;
  background: #0284c7;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
  transition: all 0.15s ease;
}

.btn-subhead-save:hover,
.btn-footer-save:hover {
  background: #0369a1;
  box-shadow: 0 3px 6px rgba(2, 132, 199, 0.3);
}

.btn-subhead-save:disabled,
.btn-footer-save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.settings-card-content {
  padding: 32px 36px 40px;
}

/* Centered Profile Avatar with Upload Camera Button */
.profile-avatar-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.avatar-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avatar-ring:hover {
  border-color: #38bdf8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

.profile-skull-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.btn-avatar-camera {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-avatar-camera:hover {
  background: #0369a1;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.avatar-uploading-indicator {
  margin-top: 10px;
  font-size: 12.5px;
  color: #0284c7;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.3); }
}

/* Info Table Rows */
.profile-info-table {
  width: 100%;
}

.info-row {
  display: flex;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 140px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  padding-top: 6px;
  flex-shrink: 0;
}

.info-val-col {
  flex: 1;
  min-width: 0;
}

.info-val {
  font-size: 14px;
  color: #1e293b;
  min-height: 24px;
  padding: 6px 0;
  word-break: break-word;
}

.info-val.bio-val {
  color: #334155;
  line-height: 1.6;
  white-space: pre-line;
}

.info-edit-wrap {
  width: 100%;
}

/* Inline Edit Form Controls */
.form-control-inline {
  width: 100%;
  max-width: 440px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.form-control-inline:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.readonly-nickname {
  display: inline-block;
  font-weight: 600;
  color: #1e293b;
  font-size: 14.5px;
  padding: 6px 0;
}

.field-hint-inline {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Birthday Picker Grid (Month / Day / Year) */
.birthday-picker-grid {
  display: flex;
  gap: 10px;
  max-width: 440px;
  width: 100%;
}

.birthday-select {
  flex: 1;
  min-width: 0;
}

/* Country Select */
.country-select {
  cursor: pointer;
}

/* Bio Textarea & Char counter */
.bio-textarea {
  max-width: 540px;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.char-counter {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: right;
  max-width: 540px;
  margin-top: 4px;
}

/* Interests Display (View Mode) */
.interests-tags-view {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.interest-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
}

.interest-tag-pill .tag-icon {
  font-size: 14px;
}

/* Interests Selector (Edit Mode) */
.interests-selector-container {
  max-width: 620px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 2px;
}

.interests-heading {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 12px;
}

.interests-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.interest-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.interest-chip:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-1px);
}

.interest-chip.selected {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);
}

.interest-chip .chip-icon {
  font-size: 14px;
}

.custom-interest-bar {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.custom-interest-input {
  flex: 1;
  max-width: none;
}

.btn-add-interest {
  padding: 8px 16px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.btn-add-interest:hover {
  background: #334155;
}

/* Card Footer Actions (Edit Mode) */
.card-footer-actions {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Guidelines Footer */
.guidelines-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

.guidelines-footer a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
}

.guidelines-footer a:hover {
  text-decoration: underline;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99999;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Mobile Responsiveness for Profile Edit
   ========================================================================== */
@media (max-width: 768px) {
  .profile-edit-container {
    padding: 0 12px;
    margin: 16px auto 36px;
  }

  .banner-badge-left,
  .banner-badge-right {
    display: none;
  }

  .profile-banner-card {
    padding: 20px 16px 18px;
    margin-bottom: 20px;
  }

  .field-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 0;
  }

  .field-label {
    width: 100%;
    max-width: 100%;
  }

  .field-input-wrap {
    width: 100%;
  }

  .field-input-text,
  .field-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .modal-card {
    width: 94% !important;
    padding: 20px 16px !important;
  }

  .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .modal-footer button {
    width: 100%;
    text-align: center;
  }
}



/* ==========================================================================
   Button Contrast & Interaction Fixes (Light and Dark Mode)
   ========================================================================== */
.btn-subhead-edit {
  display: inline-flex;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  border: 1.5px solid #0084ff !important;
  background: #ffffff !important;
  color: #0084ff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-subhead-edit.is-hidden,
.btn-subhead-edit[style*="display: none"] {
  display: none !important;
}

.btn-subhead-edit svg {
  stroke: currentColor !important;
}

.btn-subhead-edit:hover,
.btn-subhead-edit:active,
.btn-subhead-edit:focus {
  background: #0084ff !important;
  border-color: #0084ff !important;
  color: #ffffff !important;
}

.btn-subhead-save,
.btn-footer-save {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 22px !important;
  border-radius: 6px !important;
  border: none !important;
  background: #0084ff !important;
  background-image: linear-gradient(135deg, #0084ff 0%, #0066cc 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 132, 255, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-subhead-save:hover,
.btn-footer-save:hover {
  background: #0066cc !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.45) !important;
  color: #ffffff !important;
}

.btn-subhead-cancel,
.btn-footer-cancel {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-subhead-cancel:hover,
.btn-footer-cancel:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Avatar Constraint Protections */
.avatar-ring {
  position: relative !important;
  width: 124px !important;
  height: 124px !important;
  max-width: 124px !important;
  max-height: 124px !important;
  min-width: 124px !important;
  min-height: 124px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.profile-skull-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ==========================================================================
   Comprehensive Dark Mode Overrides for Profile Edit
   ========================================================================== */
[data-theme="dark"] body.account-body,
.dark body.account-body {
  background-color: var(--bg-page, #080b12) !important;
  color: var(--text-primary, #f8fafc) !important;
}

[data-theme="dark"] .account-navbar,
.dark .account-navbar {
  background: var(--bg-header, #0d121d) !important;
  border-bottom: 1px solid var(--border-subtle, #1c2538) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .settings-title,
.dark .settings-title {
  color: #f8fafc !important;
}

/* Banner Card in Dark Mode - Deep Glowing Cyber/Sky Gradient */
[data-theme="dark"] .profile-banner-card,
.dark .profile-banner-card {
  background: linear-gradient(135deg, #0c4a6e 0%, #082f49 50%, #0f172a 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .banner-progress-track,
.dark .banner-progress-track {
  background: rgba(15, 23, 42, 0.6) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .banner-progress-bar,
.dark .banner-progress-bar {
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%) !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5) !important;
}

[data-theme="dark"] .progress-percent,
.dark .progress-percent {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .banner-subtitle,
.dark .banner-subtitle {
  color: rgba(248, 250, 252, 0.9) !important;
}

/* Settings Card in Dark Mode */
[data-theme="dark"] .settings-card,
.dark .settings-card {
  background: var(--bg-surface-elevated, #161e31) !important;
  border: 1px solid var(--border-subtle, #25334e) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .settings-subhead,
.dark .settings-subhead {
  background: var(--bg-surface, #101624) !important;
  border-bottom: 1px solid var(--border-subtle, #25334e) !important;
}

[data-theme="dark"] .subhead-title,
.dark .subhead-title {
  color: #f8fafc !important;
}

/* Avatar in Dark Mode (No White Ring) */
[data-theme="dark"] .avatar-ring,
.dark .avatar-ring {
  background: #161e31 !important;
  border-color: #25334e !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .avatar-ring:hover,
.dark .avatar-ring:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.3) !important;
}

[data-theme="dark"] .profile-skull-img,
.dark .profile-skull-img {
  background: #0b0f19 !important;
}

[data-theme="dark"] .btn-avatar-camera,
.dark .btn-avatar-camera {
  border-color: #161e31 !important;
  background: #0284c7 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .btn-avatar-camera:hover,
.dark .btn-avatar-camera:hover {
  background: #0369a1 !important;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4) !important;
}

[data-theme="dark"] .avatar-uploading-indicator,
.dark .avatar-uploading-indicator {
  color: #38bdf8 !important;
}

[data-theme="dark"] .spinner-dot,
.dark .spinner-dot {
  background: #38bdf8 !important;
}

/* Info Rows in Dark Mode */
[data-theme="dark"] .info-row,
.dark .info-row {
  border-bottom: 1px solid #1c2538 !important;
}

[data-theme="dark"] .info-label,
.dark .info-label {
  color: #94a3b8 !important;
}

[data-theme="dark"] .info-val,
.dark .info-val {
  color: #f8fafc !important;
}

[data-theme="dark"] .info-val.bio-val,
.dark .info-val.bio-val {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .readonly-nickname,
.dark .readonly-nickname {
  color: #f8fafc !important;
}

[data-theme="dark"] .field-hint-inline,
.dark .field-hint-inline {
  color: #64748b !important;
}

/* Edit Mode Form Controls in Dark Mode */
[data-theme="dark"] .form-control-inline,
[data-theme="dark"] .birthday-select,
[data-theme="dark"] .country-select,
[data-theme="dark"] .bio-textarea,
[data-theme="dark"] .custom-interest-input,
.dark .form-control-inline,
.dark .birthday-select,
.dark .country-select,
.dark .bio-textarea,
.dark .custom-interest-input {
  background-color: #0b0f19 !important;
  border-color: #25334e !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .form-control-inline:focus,
[data-theme="dark"] .birthday-select:focus,
[data-theme="dark"] .country-select:focus,
[data-theme="dark"] .bio-textarea:focus,
[data-theme="dark"] .custom-interest-input:focus,
.dark .form-control-inline:focus,
.dark .birthday-select:focus,
.dark .country-select:focus,
.dark .bio-textarea:focus,
.dark .custom-interest-input:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] .char-counter,
.dark .char-counter {
  color: #64748b !important;
}

/* Interests in Dark Mode */
[data-theme="dark"] .interest-tag-pill,
.dark .interest-tag-pill {
  background: #101624 !important;
  border-color: #25334e !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .interests-selector-container,
.dark .interests-selector-container {
  background: #101624 !important;
  border-color: #25334e !important;
}

[data-theme="dark"] .interests-heading,
.dark .interests-heading {
  color: #94a3b8 !important;
}

[data-theme="dark"] .interest-chip,
.dark .interest-chip {
  background: #0b0f19 !important;
  border-color: #25334e !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .interest-chip:hover,
.dark .interest-chip:hover {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

[data-theme="dark"] .interest-chip.selected,
.dark .interest-chip.selected {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4) !important;
}

[data-theme="dark"] .btn-add-interest,
.dark .btn-add-interest {
  background: #25334e !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .btn-add-interest:hover,
.dark .btn-add-interest:hover {
  background: #334155 !important;
}

/* Buttons in Dark Mode */
[data-theme="dark"] .btn-subhead-edit,
.dark .btn-subhead-edit {
  background: #101624 !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
}

[data-theme="dark"] .btn-subhead-edit:hover,
[data-theme="dark"] .btn-subhead-edit:active,
.dark .btn-subhead-edit:hover,
.dark .btn-subhead-edit:active {
  background: #38bdf8 !important;
  border-color: #38bdf8 !important;
  color: #080b12 !important;
}

[data-theme="dark"] .btn-subhead-cancel,
[data-theme="dark"] .btn-footer-cancel,
.dark .btn-subhead-cancel,
.dark .btn-footer-cancel {
  background: #161e31 !important;
  border-color: #25334e !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .btn-subhead-cancel:hover,
[data-theme="dark"] .btn-footer-cancel:hover,
.dark .btn-subhead-cancel:hover,
.dark .btn-footer-cancel:hover {
  background: #25334e !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .btn-subhead-save,
[data-theme="dark"] .btn-footer-save,
.dark .btn-subhead-save,
.dark .btn-footer-save {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4) !important;
}

[data-theme="dark"] .btn-subhead-save:hover,
[data-theme="dark"] .btn-footer-save:hover,
.dark .btn-subhead-save:hover,
.dark .btn-footer-save:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.55) !important;
}

[data-theme="dark"] .card-footer-actions,
.dark .card-footer-actions {
  border-top: 1px solid #1c2538 !important;
}

/* Footer Guidelines in Dark Mode */
[data-theme="dark"] .guidelines-footer,
.dark .guidelines-footer {
  color: #64748b !important;
}

[data-theme="dark"] .guidelines-footer a,
.dark .guidelines-footer a {
  color: #38bdf8 !important;
}

[data-theme="dark"] .guidelines-footer a:hover,
.dark .guidelines-footer a:hover {
  color: #7dd3fc !important;
}

