/* Account pages only. Status, validation, delete/close, and brand colors stay intact. */
body.account-theme {
    --account-blue: #3082c5;
    --account-tint: #edf5fb;
    --account-shadow: rgba(48, 130, 197, .25);
}

body.account-theme .contentRightPart ul.leftMenu > li > a i,
body.account-theme .contentRightPart ul.leftMenu > li > .sharer > a i,
body.account-theme .contentRightPart ul.leftMenuLogout a i,
body.account-theme .dashboard_header_menu li a.active,
body.account-theme .headerProfile p small,
body.account-theme .cvProfileCnt ul li i,
body.account-theme .front_logo i,
body.account-theme .contact_portfoliomodal,
body.account-theme .freelancer_infologo ul li i,
body.account-theme .morelink,
body.account-theme .morelink:hover,
body.account-theme .verificationDocumentLink,
body.account-theme .jobseeker-add-option,
body.account-theme #freelancerProfileTaxonomy .freelancer-taxonomy-add,
body.account-theme .bid-chat-dialog .chat-attachment-trigger:hover,
body.account-theme .breadcrumb-item a,
body.account-theme .free_chat,
body.account-theme .free_chat span {
    color: var(--account-blue) !important;
}

body.account-theme .contentRightPart ul.leftMenu > li > a.active,
body.account-theme .contentRightPart ul.leftMenu > li > a:hover,
body.account-theme .contentRightPart ul.leftMenuLogout a:hover {
    color: var(--account-blue) !important;
    border-left-color: var(--account-blue) !important;
    background-color: var(--account-tint) !important;
}

/* Explicit primary actions, not a blanket override of btn-danger or text-danger. */
body.account-theme .profileSubmitButton,
body.account-theme .profileTile .editProfileButton,
body.account-theme .postButton,
body.account-theme .plan-renew-btn,
body.account-theme #walletRechargeModal .btn-success,
body.account-theme #dashboardWalletRechargeModal .btn-success,
body.account-theme #jobseekerWalletRechargeModal .btn-success,
body.account-theme #freelancerWalletRechargeModal .btn-success,
body.account-theme .jobseeker-add-modal__confirm,
body.account-theme #saveFreelancerCategory,
body.account-theme #saveFreelancerSkill,
body.account-theme button[form="governmentVerificationForm"],
body.account-theme button[form="addressVerificationForm"],
body.account-theme a.btn-danger[href$="homes/package"],
body.account-theme a.btn-danger[href$="homes/company_package"],
body.account-theme a.btn-danger[href$="dashboard/company_profile_edit"],
body.account-theme .applyModalBody .btn.btn-primary,
body.account-theme .post-project-redesign #submitButton,
body.account-theme .postProjectPg #submitButton,
body.account-theme .btn-info:not([data-dismiss]):not(#cancelReview),
body.account-theme .modalBtnAAnchor,
body.account-theme .addMilestoneButton {
    background: var(--account-blue) !important;
    border-color: var(--account-blue) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px var(--account-shadow) !important;
}

body.account-theme .profileTile .editProfileButton:hover,
body.account-theme .walletTopupBtn,
body.account-theme .walletTopupBtn:not(:hover):not(:focus),
body.account-theme .removeBtn[href$="/transaction_history"] {
    background: #fff !important;
    border-color: var(--account-blue) !important;
    color: var(--account-blue) !important;
}

body.account-theme .walletTopupBtn:hover,
body.account-theme .walletTopupBtn:focus,
body.account-theme .removeBtn[href$="/transaction_history"]:hover,
body.account-theme .removeBtn[href$="/transaction_history"]:focus {
    background: var(--account-blue) !important;
    border-color: var(--account-blue) !important;
    color: #fff !important;
}

body.account-theme .contentRightPart.package h4,
body.account-theme .contentRightPart.package .plan-renew-btn,
body.account-theme .contentRightPart.package > a[href$="/transaction_history"],
body.account-theme .walletDashboardCard,
body.account-theme .account-package-accent,
body.account-theme .dashPkgDtlDv,
body.account-theme .postJobForm h4,
body.account-theme .post-job-h3,
body.account-theme .allJobTitleContainer,
body.account-theme .allJobTitleContainers,
body.account-theme .applyModalHeader,
body.account-theme .modal_themheader,
body.account-theme .modal-header:not([style]):not(.bg-danger):not(.bg-warning):not(.bg-success),
body.account-theme .postProjectTitleBar,
body.account-theme .postProjectPg .form_main_title,
body.account-theme .detailPageSideBar h5,
body.account-theme .detailRightPart .detailSection .input-group span,
body.account-theme .posted_protbdv .nav-pills .back_active,
body.account-theme .pagination.ps li.active,
body.account-theme .pagination.ps li.active a,
body.account-theme .pagination.ps li a:hover,
body.account-theme .custom-control-input:checked ~ .custom-control-label::before {
    background: var(--account-blue) !important;
}

body.account-theme .account-package-accent {
    box-shadow: 0 4px 14px var(--account-shadow) !important;
}

body.account-theme .walletDashboardCard .walletBalance {
    color: #fff !important;
}

body.account-theme .post-project-redesign .section-icon,
body.account-theme .post-project-redesign .projectBudgetContainer ul li.active,
body.account-theme .jobseeker-add-option:hover {
    background: var(--account-tint) !important;
    color: var(--account-blue) !important;
    border-color: var(--account-blue) !important;
}

body.account-theme .post-project-redesign .projectBudgetContainer ul li.active p,
body.account-theme .postProjectPg .step.active i,
body.account-theme .postProjectPg .step.finish i {
    color: var(--account-blue) !important;
}

body.account-theme .post-project-redesign .projectBudgetContainer ul li.active::after {
    background: var(--account-blue) !important;
}

body.account-theme .postProjectPg .step.active,
body.account-theme .postProjectPg .step.finish,
body.account-theme .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--account-blue) !important;
}

body.account-theme .priceBox span,
body.account-theme .totalPay strong,
body.account-theme .emptyCartIcon i {
    color: var(--account-blue) !important;
}

body.account-theme .emptyCartIcon {
    background: var(--account-tint) !important;
    box-shadow: 0 4px 15px var(--account-shadow) !important;
}

/* Wallet dialogs already use neutral headings; only their recharge action changes. */
body.account-theme #walletRechargeModal .modal-header,
body.account-theme #dashboardWalletRechargeModal .modal-header,
body.account-theme #jobseekerWalletRechargeModal .modal-header,
body.account-theme #freelancerWalletRechargeModal .modal-header {
    background: #fff !important;
    color: #111827 !important;
}

/* These warning-class buttons are rating selectors, not warning/status notices. */
body.account-theme .btn-warning:is(.star-selected, .star-selected-commu, .star-selected-deliver, .star-selected-quality) {
    background: var(--account-blue) !important;
    border-color: var(--account-blue) !important;
    color: #fff !important;
}
