:root {
  --ip2026-accent: var(--text-color);
  --ip2026-accent-hover: #402a66;
  --ip2026-accent-soft: #8b87b5;
}

/* Apply only to inner pages (Home stays unchanged) */
body.ip2026-theme-inner a,
body.ip2026-theme-inner .ip2026-profile-user {
  color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .ip2026-profile-user {
  background: #f3f0fb !important;
  border-bottom-color: #e4ddf2 !important;
}

body.ip2026-theme-inner a:hover,
body.ip2026-theme-inner a:focus {
  color: var(--ip2026-accent-hover) !important;
}

/* Header action links (Order Now / Logout): keep text white on hover */
body.ip2026-theme-inner .ip2026_nav_actions a:hover,
body.ip2026-theme-inner .ip2026_nav_actions a:focus,
body.ip2026-theme-inner .ip2026_nav_actions button:hover,
body.ip2026-theme-inner .ip2026_nav_actions button:focus {
  color: #ffffff !important;
}

body.ip2026-theme-inner a:active {
  color: var(--ip2026-accent-soft) !important;
}

/* Generic form focus accents */
body.ip2026-theme-inner input:focus,
body.ip2026-theme-inner select:focus,
body.ip2026-theme-inner textarea:focus {
  border-color: var(--ip2026-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(80, 52, 127, 0.18) !important;
}

/* Common button accents (Bootstrap-ish + custom) */
body.ip2026-theme-inner .btn-primary,
body.ip2026-theme-inner .btn-info,
body.ip2026-theme-inner .btn-success,
body.ip2026-theme-inner .company-order-btn,
body.ip2026-theme-inner .company-invoice-print,
body.ip2026-theme-inner .company-add-employee-btn,
body.ip2026-theme-inner .company-action-cell .btn-status-toggle {
  background: var(--ip2026-accent) !important;
  border-color: var(--ip2026-accent) !important;
  color: #ffffff !important;
}

/* Company dashboard forms (Edit Profile / Change Password) */
body.ip2026-theme-inner .company-btn-primary {
  background: linear-gradient(135deg, var(--ip2026-accent), var(--ip2026-accent-soft)) !important;
  color: #ffffff !important;
  border-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .company-btn-primary:hover,
body.ip2026-theme-inner .company-btn-primary:focus {
  background: linear-gradient(135deg, var(--ip2026-accent-hover), var(--ip2026-accent)) !important;
  border-color: var(--ip2026-accent-hover) !important;
}

body.ip2026-theme-inner .company-form-control:focus,
body.ip2026-theme-inner .company-pass-control:focus {
  border-color: var(--ip2026-accent) !important;
  box-shadow: 0 0 0 4px rgba(80, 52, 127, 0.14) !important;
}

body.ip2026-theme-inner .btn-primary:hover,
body.ip2026-theme-inner .btn-primary:focus,
body.ip2026-theme-inner .company-order-btn:hover,
body.ip2026-theme-inner .company-order-btn:focus,
body.ip2026-theme-inner .company-invoice-print:hover,
body.ip2026-theme-inner .company-invoice-print:focus,
body.ip2026-theme-inner .company-add-employee-btn:hover,
body.ip2026-theme-inner .company-add-employee-btn:focus,
body.ip2026-theme-inner .company-action-cell .btn-status-toggle:hover,
body.ip2026-theme-inner .company-action-cell .btn-status-toggle:focus {
  background: var(--ip2026-accent-hover) !important;
  border-color: var(--ip2026-accent-hover) !important;
}

/* Table header accent used in internal pages */
body.ip2026-theme-inner #companyEmployeeTable thead th,
body.ip2026-theme-inner #companyOrderReportTable thead th,
body.ip2026-theme-inner #companyInvoiceTable thead th {
  color: var(--ip2026-accent) !important;
}

/* Cards/heads that were using blue gradients */
body.ip2026-theme-inner .company-dash-head,
body.ip2026-theme-inner .company-order-head,
body.ip2026-theme-inner .company-invoice-head,
body.ip2026-theme-inner .company-profile-head,
body.ip2026-theme-inner .company-change-head,
body.ip2026-theme-inner .company-modal-head,
body.ip2026-theme-inner .company-employee-modal .modal-header {
  background: linear-gradient(135deg, var(--ip2026-accent), var(--ip2026-accent-soft)) !important;
  color: #ffffff !important;
}

/* Service menu page (legacy) */
body.ip2026-theme-inner .content_details h1::before {
  background-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .highlight {
  color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .service-item {
  background-color: var(--ip2026-accent) !important;
  border-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .pricing-container:hover {
  background-color: var(--ip2026-accent) !important;
}

/* Designer/company login (legacy) */
body.ip2026-theme-inner .designer-login-panel,
body.ip2026-theme-inner .company-login-panel {
  background: linear-gradient(135deg, var(--ip2026-accent), var(--ip2026-accent-soft)) !important;
}

body.ip2026-theme-inner .designer-login-form-wrap h3,
body.ip2026-theme-inner .designer-form-row label,
body.ip2026-theme-inner .designer-login-link,
body.ip2026-theme-inner .company-login-form-wrap h3,
body.ip2026-theme-inner .company-form-row label,
body.ip2026-theme-inner .company-login-link {
  color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .designer-form-row input:focus,
body.ip2026-theme-inner .company-form-row input:focus {
  border-color: var(--ip2026-accent) !important;
  box-shadow: 0 0 0 4px rgba(80, 52, 127, 0.12) !important;
}

body.ip2026-theme-inner .designer-login-btn,
body.ip2026-theme-inner .company-login-btn {
  background: linear-gradient(135deg, var(--ip2026-accent), var(--ip2026-accent-soft)) !important;
}

body.ip2026-theme-inner .designer-login-link:hover,
body.ip2026-theme-inner .company-login-link:hover {
  color: var(--ip2026-accent-soft) !important;
}

/* About page: Our Key Services (legacy section-services) */
body.ip2026-theme-inner .section-services .service-block-item a.service-icon {
  background: var(--ip2026-accent) !important;
  border-color: #f4f4f5 !important;
  color: #ffffff !important;
}

body.ip2026-theme-inner .section-services .service-block-item a.service-icon:hover,
body.ip2026-theme-inner .section-services .service-block-item a.service-icon:focus {
  border-color: var(--ip2026-accent-hover) !important;
  background: var(--ip2026-accent-hover) !important;
}

body.ip2026-theme-inner .section-services .service-item-title a:hover,
body.ip2026-theme-inner .section-services .service-item-title a:focus {
  color: var(--ip2026-accent-hover) !important;
}

/* Orders/invoices list (legacy tables) */
body.ip2026-theme-inner #customers th {
  background-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner #customers td .new {
  color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .list-orders-page {
  background-color: var(--ip2026-accent) !important;
  border-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .list-orders-page:hover {
  background-color: var(--ip2026-accent-hover) !important;
}

/* Place order tabs (legacy) */
body.ip2026-theme-inner .tab_indictor button {
  border-bottom-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .tab_indictor .active button,
body.ip2026-theme-inner .active button,
body.ip2026-theme-inner .active:visited {
  background-color: var(--ip2026-accent) !important;
  border-bottom-color: var(--ip2026-accent) !important;
  color: #ffffff !important;
}

/* Service category pages: Post Message button + FAQ accordion */
body.ip2026-theme-inner input.submit,
body.ip2026-theme-inner input#submit.submit,
body.ip2026-theme-inner button.submit {
  background: var(--ip2026-accent) !important;
  border-color: var(--ip2026-accent) !important;
  color: #ffffff !important;
}

body.ip2026-theme-inner input.submit:hover,
body.ip2026-theme-inner input.submit:focus,
body.ip2026-theme-inner input#submit.submit:hover,
body.ip2026-theme-inner input#submit.submit:focus,
body.ip2026-theme-inner button.submit:hover,
body.ip2026-theme-inner button.submit:focus {
  background: var(--ip2026-accent-hover) !important;
  border-color: var(--ip2026-accent-hover) !important;
}

body.ip2026-theme-inner .accordion-header {
  background-color: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .accordion-header:hover,
body.ip2026-theme-inner .accordion-header:focus {
  background-color: var(--ip2026-accent-hover) !important;
}

body.ip2026-theme-inner input,
body.ip2026-theme-inner textarea {
  border-color: var(--ip2026-accent) !important;
}

/* Contact page: Quick Contact block */
body.ip2026-theme-inner .section-quick-contact > .container,
body.ip2026-theme-inner .section-quick-contact .inner-wrapper,
body.ip2026-theme-inner .section-quick-contact .contact-quick-info {
  background: var(--ip2026-accent) !important;
}

body.ip2026-theme-inner .section-quick-contact .quick-contact-widget span,
body.ip2026-theme-inner .section-quick-contact .quick-contact-widget a {
  color: #ffffff !important;
}

/* Contact page: send button uses a contrasting accent */
body.ip2026-theme-inner .section-quick-contact button#submit.btn {
  background: #ffbe98 !important;
  border-color: #ffbe98 !important;
  color: #2b1a3f !important;
}

body.ip2026-theme-inner .section-quick-contact button#submit.btn:hover,
body.ip2026-theme-inner .section-quick-contact button#submit.btn:focus {
  background: #e068a0 !important;
  border-color: #e068a0 !important;
  color: #ffffff !important;
}

/* Place order: Send button */
body.ip2026-theme-inner input[type="button"][value="Send"],
body.ip2026-theme-inner input[type="button"][onclick*="uploadfile"] {
  background: var(--ip2026-accent) !important;
  border: 1px solid var(--ip2026-accent) !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 10px 18px;
}

body.ip2026-theme-inner input[type="button"][value="Send"]:hover,
body.ip2026-theme-inner input[type="button"][value="Send"]:focus,
body.ip2026-theme-inner input[type="button"][onclick*="uploadfile"]:hover,
body.ip2026-theme-inner input[type="button"][onclick*="uploadfile"]:focus {
  background: var(--ip2026-accent-hover) !important;
  border-color: var(--ip2026-accent-hover) !important;
}

body.ip2026-theme-inner h1[style*="#50347f"],
body.ip2026-theme-inner h2[style*="#50347f"],
body.ip2026-theme-inner h3[style*="#50347f"],
body.ip2026-theme-inner h4[style*="#50347f"],
body.ip2026-theme-inner span[style*="#50347f"],
body.ip2026-theme-inner a[style*="#50347f"] {
  color: var(--ip2026-accent) !important;
}

/* Print invoice headers/buttons (legacy) */
body.ip2026-theme-inner .print-header,
body.ip2026-theme-inner .invoice-header {
  background: var(--ip2026-accent) !important;
}

/* Registration page legacy accent text */
body.ip2026-theme-inner .register-page a,
body.ip2026-theme-inner .register-page a:hover {
  color: var(--ip2026-accent) !important;
}
