/**
 * Pasteur Color Scheme Override
 *
 * This file contains color overrides to apply the Pasteur brand colors:
 * - Pasteur Black: #1A1A1A (replaces blue #0e4d75)
 * - Pasteur Blue: #8698FF (replaces links #005999 and red #aa2816, #d87f74, #e32700)
 * - Pasteur Green: #1ACDB1 (replaces green #4c4)
 * - Pasteur Purple: #E2E2FC (replaces grey-blue #e8e8e8)
 */

/* ===========================
 * 1. Blue (#0e4d75) → Black (#1A1A1A)
 * =========================== */

/* Top navigation bar - ONLY change .menu--account .menu as specified */
.menu--account .menu {
  background-color: #1A1A1A !important;
}

/* Buttons */
.adminimal .button {
  background: #1A1A1A !important;
  color: #fff !important;
}

.adminimal .button.js-form-submit,
.adminimal .button.button--small {
  background-color: #1A1A1A !important;
  color: #fff !important;
}

.adminimal .button.form-submit,
.adminimal .button.button-action.button--primary.button--small,
.adminimal .button.button--primary {
  background: #1A1A1A !important;
  color: #fff !important;
}

.enrollment-btn {
  background: #1A1A1A !important;
  color: #fff !important;
}

/* Checkboxes */
input[type=checkbox]:checked,
input[type=checkbox]:disabled:checked {
  background: #1A1A1A !important;
}

input[type=checkbox].error:checked,
input[type=checkbox].error:focus:checked {
  background: #1A1A1A !important;
}

/* Radio buttons */
.radio-styling-wrapper .form-item label {
  background-color: #1A1A1A !important;
}

/* Search field focus */
#search_field:focus {
  color: #1A1A1A !important;
}

/* Support links */
.support a {
  color: #1A1A1A !important;
}

/* Various buttons and elements */
#method-popup-toolbar .button {
  background: #1A1A1A !important;
  color: #fff !important;
}

.layout-region--commerce-secondary #edit-actions a.button:nth-child(odd) {
  background-color: #1A1A1A !important;
  color: #fff !important;
}

.layout-region--commerce-secondary .field__item a {
  color: #1A1A1A !important;
}

/* Expandable menu */
.qd-expandable-submenu li a {
  color: #1A1A1A !important;
}

.qd-expandable-submenu li:hover > a {
  background-color: #1A1A1A !important;
}

/* ===========================
 * 2. Links (#005999) → Pasteur Blue (#8698FF)
 * =========================== */

a {
  color: #8698FF !important;
}

/* ===========================
 * 3. Green (#4c4) → Pasteur Green (#1ACDB1)
 * =========================== */

.messages--status {
  border-color: #1ACDB1 !important;
  color: #1ACDB1 !important;
}

.card-accredited .tag.tag-green.tag-small {
  background-color: #1ACDB1 !important;
  color: #fff !important;
}

#toast-container .toast.toast-success {
  background-color: #1ACDB1 !important;
  color: #fff !important;
}

.qd-webshop-overview-product-form__already_in_cart {
  background-color: #1ACDB1 !important;
  color: #fff !important;
  border: none !important;
}
/* ===========================
 * 4. Red (#aa2816, #d87f74) → Pasteur Blue (#8698FF)
 * =========================== */

/* Hover effects */
.close-btn:hover {
  background: #8698FF !important;
}

/* Footer separators */
#page_footer #footer_outer_separator {
  border-top-color: #8698FF !important;
}

#page_footer #footer_separator {
  border-top-color: #8698FF !important;
}

/* Delete buttons */
.adminimal .button.button--danger,
#edit-actions #edit-delete {
  color: #8698FF !important;
}

.adminimal .button.button--danger:hover,
.adminimal .button.button--danger:focus,
.adminimal .button.button--danger:active,
#edit-actions #edit-delete:hover,
#edit-actions #edit-delete:focus,
#edit-actions #edit-delete:active {
  background: #8698FF !important;
}

/* Tabs - horizontal navigation */
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled {
  border-bottom-color: #8698FF !important;
}

/*Tab coloring*/
.tabs__tab.is-active a {
  background-color: #8698FF !important;
  border-color: #8698FF !important;
  color: #fff !important;
}
.tabs__tab a {
  background-color: #fff !important;
  border: 1px solid #8698FF !important;
  color: #8698FF !important;
}


.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary a {
  border-color: #8698FF !important;
  color: #8698FF !important;
}

.adminimal ul.tabs.primary a.is-active,
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary a.is-active {
  background: #8698FF !important;
}

.adminimal ul.tabs.primary a:hover,
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary a:hover {
  background: #8698FF !important;
}

.adminimal ul.tabs.primary a:before,
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary a:before {
  border-left-color: #8698FF !important;
}

ul.tabs li.tabs__tab.is-active a,
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary li.tabs__tab.is-active a {
background: #8698FF !important;
color: #fff !important;
}

/* Secondary tabs */
.adminimal ul.tabs.secondary a {
  color: #8698FF !important;
}

/* Search field border */
#search_field:focus {
  border-color: #8698FF !important;
}

/* Notification badges */
.path-pt-organizerdashboard .notification-number {
  background: #8698FF !important;
}

/* Red titles and text */
.rv_name,
.redtitle,
.redtitle_results,
.sample_title {
  color: #8698FF !important;
}

/* Method popup toolbar */
#method-popup-toolbar .button.button--danger {
  color: #8698FF !important;
}

#method-popup-toolbar .button.button--danger:hover,
#method-popup-toolbar .button.button--danger:focus,
#method-popup-toolbar .button.button--danger:active {
  background: #8698FF !important;
}

/* ===========================
 * 5. Red Alert (#e32700) → Pasteur Blue (#8698FF)
 * =========================== */

.adminimal .messages--error {
  border-color: #8698FF !important;
}

/* ===========================
 * 6. Grey-blue (#e8e8e8) → Pasteur Purple (#E2E2FC)
 * =========================== */

/* Table headers */
.adminimal table thead th,
.adminimal table th.is-active,
.field-multiple-table th {
  background-color: #E2E2FC !important;
}

/* Data entry form headers */
form.dataentry-form td.qd_data_entry_form_item_header_col_item-name,
form.dataentry-form td.qd_data_entry_form_item_header_col_lotid {
  background: #E2E2FC !important;
}

/* Result and date table headers */
.result-table-wrapper table th,
.date-table-wrapper tr th {
  background: #E2E2FC !important;
}

/*Remove icon button*/
.filter-tag .filter-tag-remove {
  background-color: #8698FF !important;
}
/* ===========================
 * 7. Entry Fields → Pasteur Purple (#E2E2FC)
 * =========================== */

/* DataTable search input fields */
table.dataTable thead .col-search {
  background: #E2E2FC !important;
}

/* ===========================
 * 8. Blue (#0e4d75) → Pasteur Blue (#8698FF )
 * =========================== */

/* Questionmark icon*/
#webshop-product-overview-support-hint-wrapper i.fa-question-circle {
  color: #8698FF !important;
}

/*Filter button*/
#webshop-product-overview-toggle-filter-link {
  background: #fff !important;
  border: 1px solid #8698FF !important;
  color: #8698FF !important;
}
#webshop-product-overview-toggle-filter-link:hover {
  background: #8698FF !important;
  color: #fff !important;
}

.card-accredited h2.title {
  color: #8698FF !important;
}

/*details button*/
a.use-ajax.outline {
  background: #fff !important;
  border: 1px solid #8698FF !important;
  color: #8698FF !important;
}
a.use-ajax.outline:hover {
  background: #8698FF !important;
  color: #fff !important;
}

#edit-sort-select option:hover {
  background-color: #8698FF;
  color: #fff;
}
#edit-sort-select option:checked {
  background-color: #8698FF;
  color: #fff;
}

/* News central header to Pasteur Blue */
html.path-pt-participant .news-panel h2 {
  background-color: #8698FF !important;
  border-color: #8698FF !important;
  color: #ffffff !important;
}

/* ===========================
 * 9. Exceptions - Keep Original Colors
 * =========================== */

/* Dashboard buttons should remain white background */
.path-pt-organizerdashboard .button.button--small {
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}

/* Links in top navigation menu should remain white */
.menu--account .menu a {
  color: #fff !important;
}

/* Links in active tabs should remain white */
.adminimal ul.tabs.primary a.is-active,
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary a.is-active,
.tabs__tab.is-active a {
  color: #fff !important;
}

/* Links inside buttons should remain white for readability */
.adminimal .button a,
.button a,
button a {
  color: #fff !important;
}

/* Tabs links should be white on hover for readability */
.adminimal ul.tabs.primary a:hover,
.adminimal nav.is-horizontal.is-collapsible.position-container.is-horizontal-enabled ul.tabs.primary a:hover,
.tabs__tab:hover a,
.tabs__tab a:hover {
  color: #fff !important;
}



/* Hub-Settings Alte Adressverwaltung */
li.tabs__tab > a[href$="/settings/address_management"] {display: none}
.site-name-container  a[rel="home"] {display: none}


div#no-products-found {
 border: 2px dashed #8698FF !important; 
  background-color: #E2E2FC !important; 
  color: #333;
}

div.cart-block--summary >  a.cart-block--link__expand { background: #FF805D !important; }