/* ================================================================
   DEVELOPER.CSS — Global utility layer for Maynstage
   Auto-loaded in: layouts/auth.blade.php, layouts/app.blade.php
   Every module can use these classes without additional imports.
   ================================================================ */

/* ── Alert boxes ───────────────────────────────────────────────────────── */
.nct-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.nct-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.nct-alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.nct-alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.nct-alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.nct-alert i {
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── Toast notifications ───────────────────────────────────────────────── */
#nct-toasts {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.nct-toast {
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  min-width: 260px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: all;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: nct-toast-in 0.3s ease forwards;
}

.nct-toast.hiding {
  animation: nct-toast-out 0.3s ease forwards;
}

.nct-toast-icon {
  font-size: 17px;
  flex-shrink: 0;
}

.nct-toast-success .nct-toast-icon {
  color: #22c55e;
}

.nct-toast-error .nct-toast-icon {
  color: #ef4444;
}

.nct-toast-warning .nct-toast-icon {
  color: #f59e0b;
}

.nct-toast-info .nct-toast-icon {
  color: #3b82f6;
}

.nct-toast-msg {
  flex: 1;
  color: #e5e5e5;
  line-height: 1.4;
}

.nct-toast-close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}

.nct-toast-close:hover {
  color: #fff;
}

@keyframes nct-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nct-toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ── Avatars ───────────────────────────────────────────────────────────── */
.nct-avatar {
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: var(--primary, #7c3aed);
  flex-shrink: 0;
  overflow: hidden;
}

.nct-avatar-xs {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.nct-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.nct-avatar-md {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.nct-avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.nct-avatar-xl {
  width: 96px;
  height: 96px;
  font-size: 32px;
}

/* ── Role badges ───────────────────────────────────────────────────────── */
.nct-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nct-badge-performer {
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.nct-badge-promoter {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.nct-badge-admin {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.nct-badge-active {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.nct-badge-inactive {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* ── Button loading state ──────────────────────────────────────────────── */
.nct-btn-loading {
  position: relative;
  pointer-events: none !important;
  opacity: 0.75;
}

.nct-btn-loading::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: nct-spin 0.65s linear infinite;
}

@keyframes nct-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ── Skeleton loader ───────────────────────────────────────────────────── */
.nct-skeleton {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.04) 25%,
      rgba(255, 255, 255, 0.09) 50%,
      rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: nct-shimmer 1.4s infinite;
  border-radius: 6px;
}

@keyframes nct-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ── Utility classes ───────────────────────────────────────────────────── */
.nct-text-primary {
  color: var(--primary, #7c3aed);
}

.nct-text-muted {
  color: var(--gray-text, #999);
}

.nct-text-success {
  color: #22c55e;
}

.nct-text-error {
  color: #ef4444;
}

.nct-text-warning {
  color: #f59e0b;
}

.nct-hidden {
  display: none !important;
}

.nct-cursor-pointer {
  cursor: pointer;
}

.nct-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 576px) {
  #nct-toasts {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  .nct-toast {
    min-width: unset;
    width: 100%;
  }
}

/* Ensure toastr appears over modals */
#toast-container {
  z-index: 999999 !important;
}

/* Fix input-group-text border when input is invalid */
.input-group:has(.is-invalid) .input-group-text {
  border-color: #ef4444;
}

/* intl-tel-input styling overrides (Dark & Light Theme Support) */
.iti {
    width: 100%;
    position: relative;
    display: block;
}

.iti__flag {
    background-image: url("../images-nct/flags.png");
}

@media (min-resolution: 2x) {
    .iti__flag {
        background-image: url("../images-nct/flags@2x.png");
    }
}

/* Selected Flag Container & Input Alignment */
.iti__selected-flag {
    padding: 0 10px 0 12px !important;
    background-color: transparent !important;
    border-radius: 8px 0 0 8px;
    transition: background-color 0.2s ease;
    z-index: 4;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.iti__selected-flag:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Selected Dial Code inside input */
.iti__selected-dial-code {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 500;
    margin-left: 6px;
    color: var(--white, #ffffff) !important;
    letter-spacing: 0.2px;
}

/* Dropdown Arrow */
.iti__arrow {
    margin-left: 6px;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-top: 4px solid #94a3b8 !important;
    border-bottom: none !important;
    transition: transform 0.2s ease;
}

.iti__arrow--up {
    border-top: none !important;
    border-bottom: 4px solid #94a3b8 !important;
}

/* Country List Dropdown Container (Dark Theme Default) */
.iti__country-list {
    position: absolute;
    z-index: 1065 !important;
    list-style: none;
    text-align: left;
    padding: 6px 0 !important;
    margin: 6px 0 0 0 !important;
    background-color: #141724 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.15) !important;
    max-height: 230px !important;
    width: 100%;
    min-width: 300px;
    max-width: 380px;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #475569 #141724;
}

.iti__country-list::-webkit-scrollbar {
    width: 6px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: #141724;
    border-radius: 6px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 6px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Country List Items (Dark Theme Default) */
.iti__country {
    padding: 8px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    color: #f1f5f9 !important;
    background-color: transparent !important;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    outline: none !important;
    font-size: 13.5px;
}

.iti__flag-box {
    display: inline-flex !important;
    align-items: center;
    width: 20px;
    flex-shrink: 0;
}

.iti__country-name {
    color: #f8fafc !important;
    font-size: 13.5px;
    font-weight: 400;
    margin-right: 6px;
    flex-grow: 1;
}

.iti__dial-code {
    color: #94a3b8 !important;
    font-size: 13px;
    font-weight: 500;
    margin-left: auto;
    flex-shrink: 0;
}

/* Hover & Active / Highlight States (Dark Theme) */
.iti__country:hover,
.iti__country.iti__highlight {
    background-color: rgba(124, 58, 237, 0.25) !important;
}

.iti__country:hover .iti__country-name,
.iti__country.iti__highlight .iti__country-name {
    color: #ffffff !important;
    font-weight: 500;
}

.iti__country:hover .iti__dial-code,
.iti__country.iti__highlight .iti__dial-code {
    color: #c4b5fd !important;
}

.iti__country.iti__active {
    background-color: rgba(124, 58, 237, 0.4) !important;
}

.iti__country.iti__active .iti__country-name {
    color: #ffffff !important;
    font-weight: 600;
}

.iti__country.iti__active .iti__dial-code {
    color: #a78bfa !important;
}

/* Divider between preferred and all countries */
.iti__divider {
    padding: 0 !important;
    margin: 6px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* =========================================================
   Light Theme Overrides for intl-tel-input
   ========================================================= */
[data-theme="light"] .iti__selected-dial-code,
body.light-theme .iti__selected-dial-code,
body.light-mode .iti__selected-dial-code {
    color: #0f172a !important;
}

[data-theme="light"] .iti__arrow,
body.light-theme .iti__arrow,
body.light-mode .iti__arrow {
    border-top-color: #64748b !important;
}

[data-theme="light"] .iti__arrow--up,
body.light-theme .iti__arrow--up,
body.light-mode .iti__arrow--up {
    border-bottom-color: #64748b !important;
}

[data-theme="light"] .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
[data-theme="light"] .iti__selected-flag:hover,
body.light-theme .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
body.light-theme .iti__selected-flag:hover,
body.light-mode .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
body.light-mode .iti__selected-flag:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .iti__country-list,
body.light-theme .iti__country-list,
body.light-mode .iti__country-list {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    scrollbar-color: #cbd5e1 #ffffff;
}

[data-theme="light"] .iti__country-list::-webkit-scrollbar-track,
body.light-theme .iti__country-list::-webkit-scrollbar-track,
body.light-mode .iti__country-list::-webkit-scrollbar-track {
    background: #ffffff;
}

[data-theme="light"] .iti__country-list::-webkit-scrollbar-thumb,
body.light-theme .iti__country-list::-webkit-scrollbar-thumb,
body.light-mode .iti__country-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

[data-theme="light"] .iti__country,
body.light-theme .iti__country,
body.light-mode .iti__country {
    color: #0f172a !important;
}

[data-theme="light"] .iti__country-name,
body.light-theme .iti__country-name,
body.light-mode .iti__country-name {
    color: #1e293b !important;
}

[data-theme="light"] .iti__dial-code,
body.light-theme .iti__dial-code,
body.light-mode .iti__dial-code {
    color: #64748b !important;
}

[data-theme="light"] .iti__country:hover,
[data-theme="light"] .iti__country.iti__highlight,
body.light-theme .iti__country:hover,
body.light-theme .iti__country.iti__highlight,
body.light-mode .iti__country:hover,
body.light-mode .iti__country.iti__highlight {
    background-color: #f1f5f9 !important;
}

[data-theme="light"] .iti__country:hover .iti__country-name,
[data-theme="light"] .iti__country.iti__highlight .iti__country-name,
body.light-theme .iti__country:hover .iti__country-name,
body.light-theme .iti__country.iti__highlight .iti__country-name,
body.light-mode .iti__country:hover .iti__country-name,
body.light-mode .iti__country.iti__highlight .iti__country-name {
    color: #0f172a !important;
}

[data-theme="light"] .iti__country:hover .iti__dial-code,
[data-theme="light"] .iti__country.iti__highlight .iti__dial-code,
body.light-theme .iti__country:hover .iti__dial-code,
body.light-theme .iti__country.iti__highlight .iti__dial-code,
body.light-mode .iti__country:hover .iti__dial-code,
body.light-mode .iti__country.iti__highlight .iti__dial-code {
    color: #7c3aed !important;
}

[data-theme="light"] .iti__country.iti__active,
body.light-theme .iti__country.iti__active,
body.light-mode .iti__country.iti__active {
    background-color: #ede9fe !important;
}

[data-theme="light"] .iti__country.iti__active .iti__country-name,
body.light-theme .iti__country.iti__active .iti__country-name,
body.light-mode .iti__country.iti__active .iti__country-name {
    color: #7c3aed !important;
}

[data-theme="light"] .iti__country.iti__active .iti__dial-code,
body.light-theme .iti__country.iti__active .iti__dial-code,
body.light-mode .iti__country.iti__active .iti__dial-code {
    color: #6d28d9 !important;
}

[data-theme="light"] .iti__divider,
body.light-theme .iti__divider,
body.light-mode .iti__divider {
    border-bottom: 1px solid #e2e8f0 !important;
}

.about-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.about-content ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.about-content li {
    margin-bottom: 0.5rem;
}

/* FAQ Delete Button Color Fix */
.faq-btn.delete-qtn, .faq-btn.delete-faq-btn {
    color: var(--alert) !important;
}

/* Booking Request Date/Time Picker Indicators & Readonly Cursor */
.booking-request-card input[type="date"]::-webkit-calendar-picker-indicator,
.booking-request-card input[type="time"]::-webkit-calendar-picker-indicator,
.booking-request-form input[type="date"]::-webkit-calendar-picker-indicator,
.booking-request-form input[type="time"]::-webkit-calendar-picker-indicator,
.nct-picker-input::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
}

.booking-request-card input[readonly],
.booking-request-form input[readonly],
.nct-picker-input[readonly] {
    cursor: pointer;
}

/* Pagination Alignment & Dark Mode Text Styling Overrides */
.pagination { gap: 10px; margin-top: 0 !important; margin-bottom: 0 !important; }
.pagination-text, nav .text-muted, nav p.small {
    color: var(--gray-first, #94a3b8) !important;
    font-size: 14px;
}
.pagination-text .fw-semibold, nav p.small .fw-semibold {
    color: var(--white, #ffffff) !important;
}

/* Promoter Manage Profile Tagline Typography & Dark Mode Fix */
.profile-promoter-info h4 {
    font-size: var(--text-16, 16px);
    font-weight: 400;
    line-height: 1.4;
    color: #94a3b8;
    margin-top: 4px;
    margin-bottom: 8px;
}
[data-theme="dark"] .profile-promoter-info h4,
body.dark-theme .profile-promoter-info h4,
.dark-theme .profile-promoter-info h4 {
    color: #cbd5e1 !important;
}

/* Public Profile Details Empty States & Dark Mode Typography */
.profile-empty-text,
.no-data-text,
.profile-section p.text-muted,
.section-block p.text-muted,
.faq-section p.text-muted,
.review-section p.text-muted,
.about-section p.text-muted,
.gallery-section p.text-muted,
.jobs-section p.text-muted,
.recent-events-section p.text-muted,
.music-details p.text-muted,
.about-content p.text-muted,
.reviews-feed p.text-muted,
.empty-prompt p {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    display: block !important;
    opacity: 0.9 !important;
}

[data-theme="dark"] .profile-empty-text,
[data-theme="dark"] .no-data-text,
[data-theme="dark"] .profile-section p.text-muted,
[data-theme="dark"] .section-block p.text-muted,
[data-theme="dark"] .reviews-feed p.text-muted,
body.dark-theme .profile-empty-text,
body.dark-theme .no-data-text,
body.dark-theme .profile-section p.text-muted,
body.dark-theme .section-block p.text-muted,
body.dark-theme .reviews-feed p.text-muted {
    color: #cbd5e1 !important;
}

/* Dashboard & Global No-Data Empty State Dark Mode Styling */
.no-data-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.no-data-card span.circle-80 {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px !important;
}

.no-data-card h4,
.no-data-card h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
}

.no-data-card p,
.no-data-card .text-muted,
.dashboard-wrapper .no-data-card p,
.inner-main .no-data-card p,
.no-data-card p.text-muted {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    opacity: 0.95 !important;
    max-width: 540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.no-data-card .btn,
.no-data-card .btn-apply,
.no-data-card .btn-sm {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

[data-theme="dark"] .no-data-card p,
[data-theme="dark"] .no-data-card .text-muted,
[data-theme="dark"] .dashboard-wrapper .no-data-card p,
body.dark-theme .no-data-card p,
body.dark-theme .no-data-card .text-muted,
body.dark-theme .dashboard-wrapper .no-data-card p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .no-data-card h4,
[data-theme="dark"] .no-data-card h2,
body.dark-theme .no-data-card h4,
body.dark-theme .no-data-card h2 {
    color: #ffffff !important;
}

/* ================================================================
   ACCOUNT SETTINGS MODULE STYLES (Scoped to .settings-main & modals)
   ================================================================ */

/* Settings Subheadings & Table Headers */
.settings-main .settings-subheading {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ffffff !important;
    display: flex;
    align-items: center;
}
[data-theme="dark"] .settings-main .settings-subheading,
body.dark-theme .settings-main .settings-subheading,
.dark-theme .settings-main .settings-subheading,
.dark-mode .settings-main .settings-subheading {
    color: #ffffff !important;
}

.settings-main .settings-column-header {
    width: 44px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #94a3b8;
    display: inline-block;
}
[data-theme="dark"] .settings-main .settings-column-header,
body.dark-theme .settings-main .settings-column-header,
.dark-theme .settings-main .settings-column-header,
.dark-mode .settings-main .settings-column-header {
    color: #cbd5e1 !important;
}

/* Password Toggle Icon (matching login page) */
.settings-main .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 1rem;
    z-index: 10;
    text-decoration: none;
    line-height: 1;
}
.settings-main .password-toggle:hover {
    color: var(--primary, #a855f7);
}
[data-theme="dark"] .settings-main .password-toggle,
body.dark-theme .settings-main .password-toggle,
.dark-theme .settings-main .password-toggle,
.dark-mode .settings-main .password-toggle {
    color: #94a3b8 !important;
}
[data-theme="dark"] .settings-main .password-toggle:hover,
body.dark-theme .settings-main .password-toggle:hover,
.dark-theme .settings-main .password-toggle:hover,
.dark-mode .settings-main .password-toggle:hover {
    color: #c084fc !important;
}

/* Invalid Feedback */
.settings-main .invalid-feedback:not(.d-none),
.settings-main .form-group .invalid-feedback:not(.d-none) {
    display: block !important;
    font-size: 0.84rem;
    margin-top: 0.4rem;
    color: #ef4444 !important;
    font-weight: 500;
}
.settings-main .form-group .invalid-feedback.d-none {
    display: none !important;
}

/* Account Settings Deactivate & Delete Modals (Matches Site Dark Theme) */
.account-settings-modal .modal-content,
#modal-deactivate-account .modal-content,
#modal-delete-account .modal-content {
    border-radius: 16px !important;
    background-color: #181826 !important;
    background: #181826 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
}

.account-settings-modal .modal-header,
#modal-deactivate-account .modal-header,
#modal-delete-account .modal-header,
.account-settings-modal .modal-body,
#modal-deactivate-account .modal-body,
#modal-delete-account .modal-body,
.account-settings-modal .modal-footer,
#modal-deactivate-account .modal-footer,
#modal-delete-account .modal-footer {
    background-color: transparent !important;
    background: transparent !important;
}

.account-settings-modal .modal-header,
#modal-deactivate-account .modal-header,
#modal-delete-account .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.account-settings-modal .modal-title,
#modal-deactivate-account .modal-title,
#modal-delete-account .modal-title {
    color: #ffffff !important;
    font-weight: 700;
}

.account-settings-modal .modal-body p,
#modal-deactivate-account .modal-body p,
#modal-delete-account .modal-body p {
    color: #f1f5f9 !important;
}

.account-settings-modal .text-muted,
#modal-deactivate-account .text-muted,
#modal-delete-account .text-muted,
.account-settings-modal ul li,
#modal-deactivate-account ul li,
#modal-delete-account ul li {
    color: #94a3b8 !important;
}

.account-settings-modal .btn-close,
#modal-deactivate-account .btn-close,
#modal-delete-account .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 0.8;
}
.account-settings-modal .btn-close:hover,
#modal-deactivate-account .btn-close:hover,
#modal-delete-account .btn-close:hover {
    opacity: 1;
}

.account-settings-modal .alert-danger,
#modal-delete-account .alert-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

.account-settings-modal .btn-outline-secondary,
#modal-deactivate-account .btn-outline-secondary,
#modal-delete-account .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #e2e8f0 !important;
}
.account-settings-modal .btn-outline-secondary:hover,
#modal-deactivate-account .btn-outline-secondary:hover,
#modal-delete-account .btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* ================================================================
   PUBLIC PROFILE DETAILS STICKY MENU & SCROLL OFFSET
   ================================================================ */
.ap-main-section section[id],
.profile-section[id],
section[id].about-artist,
section[id].gallery-section,
section[id].music-details,
section[id].availability-section,
section[id].review-section,
section[id].faq-section,
section[id].recent-events-section,
section[id].jobs-section {
    scroll-margin-top: 150px;
}

.sticky-menu {
    scroll-behavior: smooth;
}

.sticky-menu a {
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.sticky-menu a:hover {
    color: #ffffff !important;
}

.sticky-menu a.active {
    color: var(--primary, #10b981) !important;
    border-bottom: 2px solid var(--primary, #10b981) !important;
    padding-bottom: 8px;
}

/* ================================================================
   PROMOTER SUB-CATEGORY PROMPT TEXT (DARK & LIGHT MODE VISIBILITY)
   ================================================================ */
.promoter-subcats-placeholder {
    grid-column: 1 / -1;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 6px 0;
    color: #64748b !important;
    margin-bottom: 0 !important;
    display: block !important;
}

[data-theme="dark"] .promoter-subcats-placeholder,
[data-bs-theme="dark"] .promoter-subcats-placeholder,
body.dark-theme .promoter-subcats-placeholder,
.dark-theme .promoter-subcats-placeholder,
.dark-mode .promoter-subcats-placeholder {
    color: #e2e8f0 !important;
}

/* Modal focus grid dark theme contrast fix */
[data-theme="dark"] .common-modal .promoter-subcats-grid p,
body.dark-theme .common-modal .promoter-subcats-grid p,
.dark-theme .common-modal .promoter-subcats-grid p {
    color: #e2e8f0 !important;
}

/* ================================================================
   SEARCH & PROFILE HEART ICON SAVED / FAVORITE STYLES
   ================================================================ */
.heart-icon i {
    transition: color 0.3s ease;
    color: #ffffff;
}

.heart-icon i.fas,
.heart-icon i.fa-solid,
.heart-icon i.text-danger,
.heart-icon[data-saved="true"] i {
    color: #ef4444 !important;
}

.heart-icon:hover i {
    color: var(--primary, #10b981);
}

.heart-icon:hover i.fas,
.heart-icon:hover i.fa-solid,
.heart-icon:hover i.text-danger,
.heart-icon[data-saved="true"]:hover i {
    color: #dc2626 !important;
}

/* ================================================================
   MANAGE BOOKINGS & TABLES EMPTY STATE DARK MODE CONTRAST FIX
   ================================================================ */
.empty-table-text,
.common-table td.empty-table-text,
.common-table td.text-muted,
.card-table td.text-muted,
.card-table td.empty-table-text,
.table td.empty-table-text,
[data-theme="dark"] .common-table td.empty-table-text,
[data-theme="dark"] .common-table td.text-muted,
body.dark-theme .common-table td.empty-table-text,
body.dark-theme .common-table td.text-muted,
.dark-theme .common-table td.empty-table-text,
.dark-theme .common-table td.text-muted {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* ================================================================
   PROMOTER & PERFORMER EMPTY STATE TYPOGRAPHY & VISIBILITY
   ================================================================ */
.empty-state h5 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
}

.empty-state p,
.empty-state-desc,
.empty-state .text-muted,
[data-theme="dark"] .empty-state p,
[data-theme="dark"] .empty-state-desc,
body.dark-theme .empty-state p,
body.dark-theme .empty-state-desc,
.dark-theme .empty-state p,
.dark-theme .empty-state-desc {
    color: #cbd5e1 !important;
    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.empty-state i {
    color: #94a3b8 !important;
    opacity: 0.85;
}

/* Light theme overrides for empty states */
[data-theme="light"] .empty-table-text,
[data-theme="light"] .common-table td.empty-table-text,
[data-theme="light"] .common-table td.text-muted,
[data-theme="light"] .card-table td.text-muted,
[data-theme="light"] .card-table td.empty-table-text,
[data-theme="light"] .table td.empty-table-text,
body.light-theme .common-table td.empty-table-text,
body.light-theme .common-table td.text-muted,
.light-theme .common-table td.empty-table-text,
.light-theme .common-table td.text-muted {
    color: #475569 !important;
}

[data-theme="light"] .empty-state h5,
body.light-theme .empty-state h5,
.light-theme .empty-state h5 {
    color: #0f172a !important;
}

[data-theme="light"] .empty-state p,
[data-theme="light"] .empty-state-desc,
[data-theme="light"] .empty-state .text-muted,
body.light-theme .empty-state p,
body.light-theme .empty-state-desc,
.light-theme .empty-state p,
.light-theme .empty-state-desc {
    color: #64748b !important;
}

[data-theme="light"] .empty-state i,
body.light-theme .empty-state i,
.light-theme .empty-state i {
    color: #94a3b8 !important;
}

/* ================================================================
   MESSAGES EMPTY STATES (DARK & LIGHT MODE CONTRAST)
   ================================================================ */
.empty-chat-state,
.empty-feed-state,
.chat-list .text-muted,
.message-feed .text-muted {
    color: #cbd5e1 !important;
}

.empty-chat-text,
.empty-chat-state p,
.empty-feed-state p,
.chat-list .text-muted p,
.message-feed .text-muted p,
.chat-list p,
[data-theme="dark"] .empty-chat-text,
[data-theme="dark"] .empty-chat-state p,
[data-theme="dark"] .empty-feed-state p,
[data-theme="dark"] .chat-list .text-muted p,
[data-theme="dark"] .message-feed .text-muted p,
body.dark-theme .empty-chat-text,
body.dark-theme .empty-chat-state p,
body.dark-theme .empty-feed-state p,
.dark-theme .empty-chat-text,
.dark-theme .empty-chat-state p,
.dark-theme .empty-feed-state p {
    color: #cbd5e1 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.empty-feed-state i,
.message-feed .text-muted i,
#selectPromptMsg i {
    color: #94a3b8 !important;
    opacity: 0.85;
}

/* Light mode for messages empty states */
[data-theme="light"] .empty-chat-text,
[data-theme="light"] .empty-chat-state p,
[data-theme="light"] .empty-feed-state p,
[data-theme="light"] .chat-list .text-muted p,
[data-theme="light"] .message-feed .text-muted p,
body.light-theme .empty-chat-text,
body.light-theme .empty-chat-state p,
body.light-theme .empty-feed-state p,
.light-theme .empty-chat-text,
.light-theme .empty-chat-state p,
.light-theme .empty-feed-state p {
    color: #475569 !important;
}

[data-theme="light"] .empty-feed-state i,
[data-theme="light"] .message-feed .text-muted i,
[data-theme="light"] #selectPromptMsg i,
body.light-theme .empty-feed-state i,
.light-theme .empty-feed-state i {
    color: #94a3b8 !important;
}

/* ================================================================
   EVENT DETAIL PAGE THEME CONTRAST (DARK & LIGHT MODES)
   ================================================================ */
.event-details .event-detail-main {
    background-color: var(--bg-dark, #0a0a0a);
}

.event-details .common-card {
    background-color: var(--card-bg, #121212);
    border: 1px solid var(--card-border, #2a2a2a);
}

.event-details .event-details h4 a,
.event-details .host-card h4 a,
.similar-section .event-card .event-content h4 a {
    color: #ffffff !important;
    transition: color 0.2s ease;
}

.event-details .event-details h4 a:hover,
.event-details .host-card h4 a:hover,
.similar-section .event-card .event-content h4 a:hover {
    color: var(--primary, #7c3aed) !important;
}

.event-details .booking-item-card {
    border: 1px solid var(--card-border, #2a2a2a) !important;
    border-radius: var(--border-r-12, 12px) !important;
    margin-bottom: 15px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.event-details .booking-item-card:last-child {
    margin-bottom: 0 !important;
}

.event-details .booking-item-card:hover {
    border-color: var(--primary, #b81466) !important;
    box-shadow: 0 4px 16px rgba(184, 20, 102, 0.15) !important;
}

[data-theme="light"] .event-details .booking-item-card,
body.light-theme .event-details .booking-item-card,
.light-theme .event-details .booking-item-card {
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .event-details .booking-item-card:hover,
body.light-theme .event-details .booking-item-card:hover,
.light-theme .event-details .booking-item-card:hover {
    border-color: var(--primary, #b81466) !important;
    box-shadow: 0 4px 16px rgba(184, 20, 102, 0.12) !important;
}

/* Light mode for Event Detail Page */
[data-theme="light"] .event-details .event-detail-main,
body.light-theme .event-details .event-detail-main,
.light-theme .event-details .event-detail-main {
    background-color: #ffffff !important;
}

[data-theme="light"] .event-details .common-card,
body.light-theme .event-details .common-card,
.light-theme .event-details .common-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .event-details .event-details h4 a,
[data-theme="light"] .event-details .host-card h4 a,
[data-theme="light"] .similar-section .event-card .event-content h4 a,
body.light-theme .event-details .event-details h4 a,
body.light-theme .event-details .host-card h4 a,
body.light-theme .similar-section .event-card .event-content h4 a,
.light-theme .event-details .event-details h4 a,
.light-theme .event-details .host-card h4 a,
.light-theme .similar-section .event-card .event-content h4 a {
    color: #0f172a !important;
}

[data-theme="light"] .similar-section h2,
body.light-theme .similar-section h2,
.light-theme .similar-section h2 {
    color: #0f172a !important;
}

[data-theme="light"] .event-details .ov-info h5,
[data-theme="light"] .event-details .ov-info h6,
body.light-theme .event-details .ov-info h5,
body.light-theme .event-details .ov-info h6,
.light-theme .event-details .ov-info h5,
.light-theme .event-details .ov-info h6 {
    color: #1e293b !important;
}

[data-theme="light"] .event-details .fund-note,
body.light-theme .event-details .fund-note,
.light-theme .event-details .fund-note {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

/* Event Detail Available Jobs Empty State (Dark & Light Mode) */
.available-jobs-card .empty-jobs-text,
.event-details .empty-jobs-text,
[data-theme="dark"] .available-jobs-card .empty-jobs-text,
body.dark-theme .available-jobs-card .empty-jobs-text,
.dark-theme .available-jobs-card .empty-jobs-text {
    color: #cbd5e1 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
}

[data-theme="light"] .available-jobs-card .empty-jobs-text,
body.light-theme .available-jobs-card .empty-jobs-text,
.light-theme .available-jobs-card .empty-jobs-text {
    color: #64748b !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
}

/* Modal Avatar Hover Action Buttons (Edit & Delete) */
.profile-action {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.profile-action .pic-buttons {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 50%;
    z-index: 5;
}

.profile-action:hover .pic-buttons {
    opacity: 1;
}

.profile-action .edit-pic-btn {
    font-size: 13px;
    color: var(--white, #ffffff);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    z-index: 6;
    margin: 0;
    padding: 0;
}

.profile-action .edit-pic-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 7;
    font-size: 0;
}

.profile-action .edit-pic-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.profile-action .delete-pic-btn,
.profile-action .delete-pic-btn:hover,
.profile-action .delete-pic-btn:focus {
    color: #ef4444 !important;
    font-size: 13px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 8;
    margin: 0;
    padding: 0;
}

.profile-action .delete-pic-btn:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #f87171 !important;
}

/* Profile Card Full Location Styling */
.card-details .text-location {
    align-items: flex-start !important;
    word-break: break-word;
    line-height: 1.4;
}

.card-details .text-location i {
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── Performer After-Login Header Search Bar ────────────────────────────── */
.header-search {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.header-search .form-control {
    height: 40px;
    border-radius: var(--border-r-16);
    padding: 5px 10px 5px 45px;
    border-width: 1px;
}

.header-search i {
    position: absolute;
    left: 14px;
    top: 13px;
    color: var(--gray-text);
    opacity: 0.5;
    pointer-events: none;
    line-height: 1;
}