/* Rollback theme overrides: restores legacy maroon/pink palette */

/* Global labels */
label,
.auth-v2 label,
.content-v2 label,
.content-v2 .col-form-label,
.form-v2 .fv2-field-label,
.form-v2 .styled-input label,
.form-v2 .form-group > label,
.form-v2 label[for],
.search-form-v2 label.field-label {
  color: #5c6b7a !important;
}

/* Header v2 */
.header-v2 .hv2-plan .bronze,
.header-v2 .hv2-plan strong.bronze,
.header-v2 .hv2-logout,
.header-v2 .hv2-m-plan .bronze,
.header-v2 .hv2-m-plan strong.bronze,
.header-v2 .hv2-m-menu-btn {
  color: #9b1b1b !important;
}
.header-v2 .hv2-m-menu-btn {
  border-color: #9b1b1b !important;
}
.header-v2 .hv2-bell,
.header-v2 .hv2-m-bell {
  background: #fff5f8 !important;
  color: #e91e63 !important;
}
.header-v2 .hv2-nav-wrap {
  background: linear-gradient(90deg, #e91e63 0%, #d53266 100%) !important;
}
.header-v2 .hv2-nav .dropdown-item:hover {
  background: #fff5f8 !important;
  color: #9b1b1b !important;
}
.header-v2 .hv2-m-logout {
  background: #9b1b1b !important;
}
.header-v2 .dropdown-item .badge,
.header-v2 .hv2-mobile-menu .hv2-acc-link .badge {
  background-color: #990033 !important;
}

/* Guest header */
.header-guest-v2 .hg2-contact i,
.header-guest-v2 .hg2-btn-login,
.header-guest-v2 .hg2-nav .dropdown-item:hover {
  color: #8b1e3f !important;
}
.header-guest-v2 .hg2-btn-login,
.header-guest-v2 .hg2-btn-register {
  border-color: #8b1e3f !important;
}
.header-guest-v2 .hg2-btn-login:hover,
.header-guest-v2 .hg2-btn-register,
.header-guest-v2 .hg2-nav-wrap,
.header-guest-v2 .hg2-mobile-menu {
  background: linear-gradient(90deg, #e91e63 0%, #d53266 100%) !important;
}
.header-guest-v2 .hg2-btn-register:hover {
  background: #6e1631 !important;
  border-color: #6e1631 !important;
}

/* Footer */
.footer-v2 {
  background: #8b1e3f !important;
}
.footer-v2 .fv2-label,
.footer-v2 .fv2-address i,
.footer-v2 .fv2-link-list a::before,
.footer-v2 .fv2-contact-icon,
.footer-v2 .fv2-link-list a:hover,
.footer-v2 .fv2-contact-list a:hover {
  color: #f3d7a0 !important;
}
.footer-v2 .fv2-label::after {
  background: #c8a252 !important;
}
.footer-v2 .fv2-social a:hover {
  background: #6e1631 !important;
  border-color: #6e1631 !important;
}

/* Auth/content/form/search */
.auth-v2 {
  --auth-maroon: #8b1e3f !important;
  --auth-surface: #f7f4f2 !important;
  --auth-border: #e6ddd8 !important;
}
.auth-v2 .btn-auth-primary {
  background: linear-gradient(135deg, #8b1e3f, #a83355) !important;
}
.auth-v2 .btn-auth-primary:hover {
  background: linear-gradient(135deg, #6e1631, #8b1e3f) !important;
}

.content-v2 {
  --cv2-maroon: #8b1e3f !important;
  --cv2-surface: #f7f4f2 !important;
  --cv2-border: #e6ddd8 !important;
}
.content-v2 .btn-content-primary {
  background: linear-gradient(135deg, #8b1e3f, #a83355) !important;
}
.content-v2 .btn-content-primary:hover {
  background: linear-gradient(135deg, #6e1631, #8b1e3f) !important;
}

.search-form-v2 .search-section-title {
  color: #9b1b1b !important;
}
.search-form-v2 .btn-search-primary {
  background: #9b1b1b !important;
  border-color: #9b1b1b !important;
}
.search-form-v2 .btn-search-primary:hover {
  background: #7f1515 !important;
  border-color: #7f1515 !important;
}
.search-form-v2 .btn-search-secondary {
  background: #fff !important;
  border-color: #9b1b1b !important;
  color: #9b1b1b !important;
}
.search-form-v2 .btn-search-secondary:hover {
  background: #9b1b1b !important;
  border-color: #9b1b1b !important;
  color: #fff !important;
}

/* Profile pages */
.my-profile-v2-sample,
.full-profile-v2-sample {
  --mp-maroon: #8b1e3f !important;
  --mp-border: #e6ddd8 !important;
  --mp-surface: #faf8f6 !important;
  --fp-maroon: #8b1e3f !important;
  --fp-maroon-dark: #6e1631 !important;
  --fp-border: #e6ddd8 !important;
  --fp-surface: #faf8f6 !important;
}

.my-profile-v2-sample .mp-welcome,
.full-profile-v2-sample .fp-id,
.full-profile-v2-sample .fp-id.dwm-copy-id .fa-clone {
  color: #9b1b1b !important;
}

.my-profile-v2-sample .mp-actions,
.full-profile-v2-sample .fp-actions {
  border-color: #ecd9df !important;
  background: linear-gradient(180deg, #fff9fb 0%, #fff 100%) !important;
}

.my-profile-v2-sample .mp-actions .btn-mp-primary,
.full-profile-v2-sample .btn-view-profile {
  background: linear-gradient(135deg, #8b1e3f 0%, #a83355 100%) !important;
  box-shadow: 0 3px 10px rgba(139, 30, 63, 0.22) !important;
}

.my-profile-v2-sample .mp-actions .btn-mp-primary:hover,
.full-profile-v2-sample .btn-view-profile:hover {
  background: linear-gradient(135deg, #6e1631 0%, #8b1e3f 100%) !important;
  box-shadow: 0 5px 14px rgba(139, 30, 63, 0.3) !important;
}
.full-profile-v2-sample .fp-actions .btn-view-profile,
.full-profile-v2-sample .fp-btn-row .btn-view-profile {
  background: linear-gradient(135deg, #8b1e3f 0%, #a83355 100%) !important;
  border: 1px solid #8b1e3f !important;
  color: #fff !important;
  opacity: 1 !important;
}
.full-profile-v2-sample .fp-actions .btn-view-profile:hover,
.full-profile-v2-sample .fp-btn-row .btn-view-profile:hover {
  background: linear-gradient(135deg, #6e1631 0%, #8b1e3f 100%) !important;
  border-color: #6e1631 !important;
  color: #fff !important;
}

.my-profile-v2-sample .mp-actions .btn-mp-secondary,
.full-profile-v2-sample .fp-actions .view_all,
.full-profile-v2-sample .fp-actions .shortlist_button,
.full-profile-v2-sample .fp-actions .contact_button {
  color: #8b1e3f !important;
  border-color: #e4b8c4 !important;
  box-shadow: 0 2px 6px rgba(139, 30, 63, 0.08) !important;
}

.my-profile-v2-sample .mp-actions .btn-mp-secondary:hover,
.full-profile-v2-sample .fp-actions .view_all:hover,
.full-profile-v2-sample .fp-actions .shortlist_button:hover,
.full-profile-v2-sample .fp-actions .contact_button:hover {
  background: #fce8ef !important;
  border-color: #c97d94 !important;
  color: #6e1631 !important;
}
.full-profile-v2-sample .fp-block-menu .btn-more {
  border-color: #e4b8c4 !important;
  color: #8b1e3f !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(139, 30, 63, 0.1) !important;
}
.full-profile-v2-sample .fp-block-menu .btn-more:hover,
.full-profile-v2-sample .fp-block-menu .btn-more:focus {
  border-color: #c97d94 !important;
  color: #6e1631 !important;
  background: #fce8ef !important;
}

.my-profile-v2-sample .mp-nav,
.full-profile-v2-sample .fp-nav {
  background: linear-gradient(90deg, #e91e63 0%, #f48fb1 100%) !important;
}

.my-profile-v2-sample .mp-section-head,
.full-profile-v2-sample .fp-section-head {
  background: linear-gradient(135deg, #8b1e3f 0%, #a12a4a 100%) !important;
}

.my-profile-v2-sample .mp-section-body .addre span,
.my-profile-v2-sample .mp-section-body li > span:first-of-type,
.full-profile-v2-sample .fp-section-body .addre span,
.full-profile-v2-sample .fp-section-body li > span:first-of-type {
  color: #888 !important;
}

/* Revert top notice class if present */
.dwm-notice-bar {
  background: #cd3162 !important;
  color: #fff !important;
}

/* Preserve floating WhatsApp button after footer rollback */
a.fv2-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
a.fv2-whatsapp img {
  width: 30px;
  height: 30px;
}

/* Matches page rollback (undo blue card accents) */
.matches_edit .btn-view-profile {
  border-color: #cd3162 !important;
  color: #cd3162 !important;
}
.matches_edit .btn-view-profile:hover {
  background: #cd3162 !important;
  border-color: #cd3162 !important;
  color: #fff !important;
}
.matches_edit .match-section-bar {
  background: linear-gradient(to right, #ff2a6c, #f6adc4) !important;
  color: #fff !important;
}
.matches_edit .match-section-bar .number_alert {
  color: #fff !important;
}
.matches_edit .match-section-bar .view_all {
  background: #fff !important;
  color: #9b1b1b !important;
  border: 0 !important;
}
.matches_edit .match-section-bar .view_all:hover {
  background: #fde6ee !important;
  color: #9b1b1b !important;
}

/* Modal close button rollback */
.close_button {
  background: #cd3162 !important;
  color: #fff !important;
}

/* Activity list rollback (profile visited pages) */
.matches_edit.activity-list .plr-id {
  color: #b02a57 !important;
}
.matches_edit.activity-list .plr-name {
  color: #5b1d37 !important;
}
.matches_edit.activity-list .plr-action {
  background: #fff7fa !important;
  border-left-color: #f2d7e2 !important;
}
.matches_edit.activity-list .btn-activity-status {
  border-color: #d289a6 !important;
  background: #fff !important;
  color: #9b1b4a !important;
}

/* Chat page rollback (chat.php) */
.chat-v2 .chat-topbar {
  background: linear-gradient(135deg, #cd3162 0%, #a82450 100%) !important;
}
.chat-v2 .chat-shell {
  border-color: #ecd5df !important;
}
.chat-v2 .chat-peer-id,
.chat-v2 .chat-back,
.chat-v2 .chat-peer-name {
  color: #fff !important;
}
.chat-v2 .chat-top-actions .btn {
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}
.chat-v2 .chat-history {
  background: linear-gradient(180deg, #fff7fa 0%, #fdf1f6 100%) !important;
}
.chat-v2 .chat-row.is-out .bubble {
  background: linear-gradient(135deg, #cd3162, #a82450) !important;
  color: #fff !important;
}
.chat-v2 .composer-row textarea:focus,
.chat-v2 .composer-row .composer-input:focus {
  border-color: #d9a8bb !important;
  box-shadow: 0 0 0 3px rgba(205, 49, 98, 0.12) !important;
}
.chat-v2 .btn-send {
  background: linear-gradient(135deg, #cd3162, #a82450) !important;
  color: #fff !important;
}
.chat-v2 .btn-send:hover {
  background: linear-gradient(135deg, #961e44, #b82a57) !important;
  color: #fff !important;
}
.chat-v2 .chat-upgrade .btn-upgrade {
  background: linear-gradient(135deg, #cd3162, #a82450) !important;
  color: #fff !important;
}
.chat-v2 .chat-upgrade .btn-upgrade:hover {
  background: linear-gradient(135deg, #961e44, #b82a57) !important;
  color: #fff !important;
}

/* Form/settings pages rollback (accountsetting and similar) */
.form-v2 {
  --fv2-maroon: #8b1e3f !important;
  --fv2-border: #e6ddd8 !important;
  --fv2-surface: #f7f4f2 !important;
  background: linear-gradient(180deg, #faf7f5 0%, #f3eeeb 100%) !important;
  background-image: linear-gradient(180deg, #faf7f5 0%, #f3eeeb 100%) !important;
}
body:has(.form-v2) {
  background-color: #f3eeeb !important;
}
.form-v2 .title,
.form-v2 .title .font-weight-bold,
.form-v2 h3.title {
  color: #5b1d37 !important;
}
.form-v2 .settings-nav-v2 .sn-item .sn-icon {
  background: rgba(139, 30, 63, 0.12) !important;
  color: #8b1e3f !important;
}
.form-v2 .settings-nav-v2 .sn-item:hover {
  color: #8b1e3f !important;
}
.form-v2 .settings-nav-v2 .sn-item-active,
.form-v2 .settings-nav-v2 .sn-item.sn-item-active {
  background: #8b1e3f !important;
  border-color: #8b1e3f !important;
  box-shadow: 0 6px 16px rgba(139, 30, 63, 0.24) !important;
}
.form-v2 .settings-nav-v2 .sn-item-active:hover,
.form-v2 .settings-nav-v2 .sn-item.sn-item-active:hover {
  background: #6e1631 !important;
}
.form-v2 .settings-block-title {
  color: #5c6b7a !important;
  border-bottom-color: #e6ddd8 !important;
}
.form-v2 .radio-option {
  color: #4d5b68 !important;
}
.form-v2 input[type="submit"]:hover,
.form-v2 .btn-form-primary:hover {
  background: #6e1631 !important;
  border-color: #6e1631 !important;
}

/* Contact/content pages rollback */
.content-v2 {
  --cv2-maroon: #8b1e3f !important;
  --cv2-surface: #f7f4f2 !important;
  --cv2-border: #e6ddd8 !important;
}
.content-v2 .cv2-info-icon {
  background: linear-gradient(135deg, #cd3162, #a82450) !important;
  color: #fff !important;
}
.content-v2 .cv2-info-card h4 {
  color: #5b1d37 !important;
}
.content-v2 .cv2-info-card p,
.content-v2 .cv2-info-card a {
  color: #4f5f6f !important;
}
.content-v2 .cv2-form-title {
  color: #5b1d37 !important;
}
.content-v2 .btn-content-primary {
  background: linear-gradient(135deg, #8b1e3f, #a83355) !important;
  border-color: #8b1e3f !important;
  color: #fff !important;
}
.content-v2 .btn-content-primary:hover {
  background: linear-gradient(135deg, #6e1631, #8b1e3f) !important;
  border-color: #6e1631 !important;
  color: #fff !important;
}

/* Guest header auth buttons rollback */
.topbar a.one,
.topbar a.four {
  background: linear-gradient(135deg, #cd3162 0%, #a82450 100%) !important;
  border: 1px solid #8b1e3f !important;
  color: #fff !important;
}
.topbar a.one:hover,
.topbar a.four:hover {
  background: linear-gradient(135deg, #b42856 0%, #8f1f45 100%) !important;
  border-color: #7f1739 !important;
  color: #fff !important;
}
.topbar a.two,
.topbar a.three {
  background: #fff !important;
  border: 1px solid #8b1e3f !important;
  color: #8b1e3f !important;
}
.topbar a.btn.btn-secondary.two,
.topbar a.btn.btn-secondary.three,
.topbar a.btn.btn-secondary.two:link,
.topbar a.btn.btn-secondary.three:link,
.topbar a.btn.btn-secondary.two:visited,
.topbar a.btn.btn-secondary.three:visited {
  color: #8b1e3f !important;
}
.topbar a.two:hover,
.topbar a.three:hover {
  background: #fff4f8 !important;
  border-color: #7f1739 !important;
  color: #7f1739 !important;
}
.topbar a.btn.btn-secondary.two:hover,
.topbar a.btn.btn-secondary.three:hover,
.topbar a.btn.btn-secondary.two:focus,
.topbar a.btn.btn-secondary.three:focus,
.topbar a.btn.btn-secondary.two:active,
.topbar a.btn.btn-secondary.three:active {
  color: #7f1739 !important;
}

/* Pagination rollback */
.matches_edit .dwm-paginate a,
.matches_edit .dwm-paginate span.disabled,
.matches_edit .dwm-paginate span.ellipsis {
  border-color: #8b1e3f !important;
  color: #8b1e3f !important;
  background: #fff !important;
}
.matches_edit .dwm-paginate a:hover,
.matches_edit .dwm-paginate a.current_page {
  background: #8b1e3f !important;
  border-color: #8b1e3f !important;
  color: #fff !important;
}
.matches_edit .dwm-paginate span.disabled {
  border-color: #ddd !important;
  color: #bbb !important;
  background: #f7f7f7 !important;
}

ul.setPaginate li a {
  border-color: #8b1e3f !important;
  color: #8b1e3f !important;
  background: #fff !important;
}
ul.setPaginate li a:hover,
ul.setPaginate li a.current_page {
  background: #8b1e3f !important;
  border-color: #8b1e3f !important;
  color: #fff !important;
}

