/* ================================================================
   BeeWise Admin Console – Dark Brand Theme
   Palette: #e9ac33 (gold), #e99f0c (amber), #f5c86e (light gold)
   Backgrounds: #1a1a1a → #252525 → #2e2e2e → #383838
   ================================================================ */

/* --- PatternFly 5 global token overrides --- */
:root {
    --pf-v5-global--BackgroundColor--100: #1a1a1a;
    --pf-v5-global--BackgroundColor--200: #252525;
    --pf-v5-global--BackgroundColor--300: #2e2e2e;
    --pf-v5-global--Color--100: #f0f0f0;
    --pf-v5-global--Color--200: #c0c0c0;
    --pf-v5-global--Color--300: #888888;
    --pf-v5-global--primary-color--100: #f5c86e;
    --pf-v5-global--primary-color--200: #e9ac33;
    --pf-v5-global--primary-color--300: #e99f0c;
    --pf-v5-global--active-color--100: #e9ac33;
    --pf-v5-global--link--Color: #f5c86e;
    --pf-v5-global--link--Color--hover: #e9ac33;
    --pf-v5-global--BorderColor--100: #3a3a3a;
    --pf-v5-global--BorderColor--200: #4a4a4a;
    --pf-v5-global--focus-ring--color: rgba(233, 172, 51, 0.6);
}

/* --- Page foundation --- */
body,
html {
    background-color: #1a1a1a !important;
    color: #f0f0f0 !important;
}

/* --- Masthead --- */
.pf-v5-c-masthead {
    background-color: #252525 !important;
    border-bottom: 2px solid #e9ac33 !important;
}

.pf-v5-c-masthead__brand,
.pf-v5-c-masthead__content {
    color: #f0f0f0 !important;
}

/* --- Page sidebar --- */
.pf-v5-c-page__sidebar {
    background-color: #1a1a1a !important;
    border-right: 1px solid #3a3a3a !important;
}

.pf-v5-c-page__main,
.pf-v5-c-page__main-section {
    background-color: #1a1a1a !important;
}

/* --- Navigation --- */
.pf-v5-c-nav {
    background-color: #1a1a1a !important;
}

.pf-v5-c-nav__link {
    color: #c0c0c0 !important;
}

.pf-v5-c-nav__link:hover {
    background-color: #2e2e2e !important;
    color: #f5c86e !important;
}

.pf-v5-c-nav__link.pf-m-current,
.pf-v5-c-nav__item.pf-m-current > .pf-v5-c-nav__link {
    background-color: #2e2e2e !important;
    color: #e9ac33 !important;
    border-left: 3px solid #e9ac33 !important;
}

.pf-v5-c-nav__section-title {
    color: #888888 !important;
}

/* --- Cards --- */
.pf-v5-c-card {
    background-color: #252525 !important;
    border: 1px solid #3a3a3a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    color: #f0f0f0 !important;
}

.pf-v5-c-card__header,
.pf-v5-c-card__title {
    background-color: #2e2e2e !important;
    border-bottom: 1px solid #3a3a3a !important;
    color: #f0f0f0 !important;
}

.pf-v5-c-card__body {
    color: #c0c0c0 !important;
}

.pf-v5-c-card__footer {
    border-top: 1px solid #3a3a3a !important;
}

/* --- Buttons --- */
.pf-v5-c-button.pf-m-primary {
    background-color: #e9ac33 !important;
    border-color: #e9ac33 !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

.pf-v5-c-button.pf-m-primary:hover {
    background-color: #e99f0c !important;
    border-color: #e99f0c !important;
    color: #1a1a1a !important;
}

.pf-v5-c-button.pf-m-secondary {
    color: #e9ac33 !important;
    border-color: #e9ac33 !important;
    background-color: transparent !important;
}

.pf-v5-c-button.pf-m-secondary:hover {
    background-color: rgba(233, 172, 51, 0.12) !important;
}

.pf-v5-c-button.pf-m-link {
    color: #f5c86e !important;
}

.pf-v5-c-button.pf-m-link:hover {
    color: #e9ac33 !important;
}

.pf-v5-c-button.pf-m-plain {
    color: #c0c0c0 !important;
}

.pf-v5-c-button.pf-m-plain:hover {
    color: #f0f0f0 !important;
    background-color: #2e2e2e !important;
}

.pf-v5-c-button.pf-m-danger {
    background-color: #c9190b !important;
    border-color: #c9190b !important;
    color: #ffffff !important;
}

/* --- Forms & Inputs --- */
.pf-v5-c-form-control {
    background-color: #2e2e2e !important;
    border-color: #4a4a4a !important;
    color: #f0f0f0 !important;
}

.pf-v5-c-form-control:hover {
    border-color: #e9ac33 !important;
}

.pf-v5-c-form-control:focus,
.pf-v5-c-form-control:focus-within {
    border-color: #e9ac33 !important;
    box-shadow: 0 0 0 2px rgba(233, 172, 51, 0.25) !important;
}

.pf-v5-c-form-control::placeholder {
    color: #666 !important;
}

.pf-v5-c-form__label {
    color: #c0c0c0 !important;
}

.pf-v5-c-form__label-required {
    color: #e9ac33 !important;
}

.pf-v5-c-form__group-label-help {
    color: #888888 !important;
}

/* Switch / Toggle */
.pf-v5-c-switch__input:checked ~ .pf-v5-c-switch__toggle {
    background-color: #e9ac33 !important;
}

/* Checkbox & Radio */
.pf-v5-c-check__input:checked,
.pf-v5-c-radio__input:checked {
    accent-color: #e9ac33;
}

/* --- Tables --- */
.pf-v5-c-table {
    background-color: #252525 !important;
    color: #f0f0f0 !important;
}

.pf-v5-c-table thead tr,
.pf-v5-c-table > thead > tr {
    background-color: #2e2e2e !important;
    border-bottom: 2px solid #e9ac33 !important;
}

.pf-v5-c-table thead th,
.pf-v5-c-table > thead > tr > th {
    color: #f5c86e !important;
    font-weight: 600 !important;
}

.pf-v5-c-table tbody tr,
.pf-v5-c-table > tbody > tr {
    border-bottom: 1px solid #3a3a3a !important;
}

.pf-v5-c-table tbody tr:hover,
.pf-v5-c-table > tbody > tr:hover {
    background-color: #2e2e2e !important;
}

.pf-v5-c-table td {
    color: #c0c0c0 !important;
}

/* --- Toolbar --- */
.pf-v5-c-toolbar {
    background-color: #252525 !important;
    border-bottom: 1px solid #3a3a3a !important;
}

/* --- Tabs --- */
.pf-v5-c-tabs {
    border-bottom: 1px solid #3a3a3a !important;
}

.pf-v5-c-tabs__link {
    color: #c0c0c0 !important;
    background-color: transparent !important;
}

.pf-v5-c-tabs__link:hover {
    color: #f5c86e !important;
}

.pf-v5-c-tabs__item.pf-m-current .pf-v5-c-tabs__link {
    color: #e9ac33 !important;
}

.pf-v5-c-tabs__item.pf-m-current .pf-v5-c-tabs__link::after {
    background-color: #e9ac33 !important;
}

/* --- Menus & Dropdowns --- */
.pf-v5-c-menu {
    background-color: #2e2e2e !important;
    border: 1px solid #4a4a4a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.pf-v5-c-menu__item-text {
    color: #c0c0c0 !important;
}

.pf-v5-c-menu__list-item:hover .pf-v5-c-menu__item-text,
.pf-v5-c-menu__list-item:focus .pf-v5-c-menu__item-text {
    color: #f5c86e !important;
}

.pf-v5-c-menu__list-item:hover,
.pf-v5-c-menu__list-item:focus {
    background-color: #383838 !important;
}

/* --- Select / Combobox --- */
.pf-v5-c-select__toggle,
.pf-v5-c-select__toggle-button {
    background-color: #2e2e2e !important;
    border-color: #4a4a4a !important;
    color: #f0f0f0 !important;
}

.pf-v5-c-select__menu {
    background-color: #2e2e2e !important;
    border-color: #4a4a4a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.pf-v5-c-select__menu-item:hover {
    background-color: #383838 !important;
    color: #f5c86e !important;
}

/* --- Alerts --- */
.pf-v5-c-alert {
    background-color: #2e2e2e !important;
    border-color: #4a4a4a !important;
    color: #f0f0f0 !important;
}

.pf-v5-c-alert.pf-m-info {
    border-left-color: #f5c86e !important;
}

.pf-v5-c-alert.pf-m-success {
    border-left-color: #3e8635 !important;
}

.pf-v5-c-alert.pf-m-warning {
    border-left-color: #e99f0c !important;
}

.pf-v5-c-alert.pf-m-danger {
    border-left-color: #c9190b !important;
}

/* --- Breadcrumb --- */
.pf-v5-c-breadcrumb__link {
    color: #f5c86e !important;
}

.pf-v5-c-breadcrumb__link:hover {
    color: #e9ac33 !important;
}

.pf-v5-c-breadcrumb__item.pf-m-current .pf-v5-c-breadcrumb__link {
    color: #888888 !important;
}

.pf-v5-c-breadcrumb__item-divider {
    color: #4a4a4a !important;
}

/* --- Badges & Labels --- */
.pf-v5-c-badge {
    background-color: rgba(233, 172, 51, 0.15) !important;
    color: #f5c86e !important;
}

.pf-v5-c-label.pf-m-blue,
.pf-v5-c-label.pf-m-gold {
    background-color: rgba(233, 172, 51, 0.15) !important;
    color: #f5c86e !important;
    border-color: rgba(233, 172, 51, 0.3) !important;
}

/* --- Pagination --- */
.pf-v5-c-pagination {
    background-color: #252525 !important;
    border-top: 1px solid #3a3a3a !important;
    color: #c0c0c0 !important;
}

/* --- Code blocks --- */
.pf-v5-c-code-block {
    background-color: #0d0d0d !important;
    border-color: #3a3a3a !important;
}

.pf-v5-c-code-block__pre,
.pf-v5-c-code-block__code {
    color: #f5c86e !important;
}

/* --- Skeleton / loading --- */
.pf-v5-c-skeleton {
    background: linear-gradient(
        90deg,
        #2e2e2e 25%,
        #383838 50%,
        #2e2e2e 75%
    ) !important;
    background-size: 200% 100% !important;
}

/* --- Divider --- */
.pf-v5-c-divider {
    background-color: #3a3a3a !important;
}

/* --- Empty state --- */
.pf-v5-c-empty-state {
    color: #888888 !important;
}

.pf-v5-c-empty-state__title {
    color: #f0f0f0 !important;
}

/* --- Titles & typography --- */
h1, h2, h3, h4, h5, h6,
.pf-v5-c-title {
    color: #f0f0f0 !important;
}

a {
    color: #f5c86e;
}

a:hover {
    color: #e9ac33;
}
