/* =================================================================
   JMAC Web - CSS Entry Point
   Loads all modular stylesheets in dependency order.
   Edit individual modules in the css/ directory, not this file.
   ================================================================= */

@import url('css/tokens.css');
@import url('css/base.css');
@import url('css/navbar.css');
@import url('css/layout.css');
@import url('css/account.css');
@import url('css/motion.css');
@import url('css/hero.css');
@import url('css/sections.css');
@import url('css/pricing.css');
@import url('css/ai-news.css');
@import url('css/admin-grids.css');

/* ================================================================
   Business Category autocomplete (RadzenAutoComplete) - dark theme.
   Lives in app.css (fingerprinted) so edge caches can never serve a
   stale version; overrides Radzen material-base which loads earlier.
   ================================================================ */
.jmac-cat-input .rz-inputtext,
input.rz-inputtext.jmac-cat-input,
.jmac-cat-input input {
    background-color: #0e1726 !important;
    color: #e8eef7 !important;
    border: 1px solid rgba(148, 197, 233, 0.25) !important;
    border-radius: 10px !important;
    height: calc(2.4rem + 2px);
    font-size: 0.95rem;
    box-shadow: none !important;
}

.jmac-cat-input input::placeholder {
    color: rgba(148, 163, 184, 0.6) !important;
}

.jmac-cat-input .rz-inputtext:focus,
.jmac-cat-input input:focus {
    border-color: rgba(124, 58, 237, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18) !important;
}

.rz-autocomplete-panel {
    background: #0e1726 !important;
    border: 1px solid rgba(148, 197, 233, 0.20) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55) !important;
    padding: 6px !important;
    margin-top: 6px;
    z-index: 2100 !important;
}

.rz-autocomplete-panel ul,
.rz-autocomplete-panel .rz-autocomplete-items {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.rz-autocomplete-panel li,
.rz-autocomplete-panel .rz-autocomplete-item {
    background: transparent !important;
    color: #e8eef7 !important;
    border-radius: 10px !important;
    padding: 7px 10px !important;
    margin: 1px 0;
    transition: background 0.12s ease;
}

.rz-autocomplete-panel li:hover,
.rz-autocomplete-panel li.rz-state-highlight,
.rz-autocomplete-panel .rz-autocomplete-item:hover,
.rz-autocomplete-panel .rz-autocomplete-item.rz-state-highlight {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.28), rgba(20, 201, 166, 0.16)) !important;
    color: #ffffff !important;
}

.rz-autocomplete-panel .jmac-cat-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 300px;
}

.rz-autocomplete-panel .jmac-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(20, 201, 166, 0.14);
    color: #14c9a6;
    font-size: 1rem;
    flex-shrink: 0;
}

.rz-autocomplete-panel .jmac-cat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.rz-autocomplete-panel .jmac-cat-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e8eef7;
    white-space: nowrap;
}

.rz-autocomplete-panel .jmac-cat-group {
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.9);
}

.rz-autocomplete-panel .jmac-cat-pop {
    margin-left: auto;
    font-size: 0.64rem;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
}
