/* ═══════════════════════════════════════════════
   SKEELLS — AI Search
   CSS | Site Wide
   ═══════════════════════════════════════════════ */

/* ── LOCKED ───────────────────────────────────── */
.skeells-ais-locked {
    background: #fff;
    border: 1px solid #e8edf0;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Red Hat Text', Arial, sans-serif;
}

.skeells-ais-locked-top {
    background: #1a2332;
    padding: 16px 18px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.skeells-ais-locked-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(49, 201, 112, .15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.skeells-ais-locked-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #31C970;
    letter-spacing: .3px;
    margin: 0 0 4px;
}

.skeells-ais-locked-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.skeells-ais-locked-body {
    padding: 16px 18px 6px;
}

.skeells-ais-locked-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F4F8F7;
    border: 1.5px solid #E5E7EB;
    border-radius: 100px;
    padding: 11px 16px;
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 14px;
    filter: blur(1.5px);
    pointer-events: none;
}

.skeells-ais-locked-intro {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.skeells-ais-locked-benefits {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeells-ais-locked-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #242424;
    line-height: 1.4;
}

.skeells-ais-locked-benefits svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.skeells-ais-locked-pkg-preview {
    background: #f8fdf9;
    border: 1px solid rgba(49, 201, 112, .3);
    border-radius: 8px;
    padding: 11px 14px;
    margin-bottom: 14px;
}

.skeells-ais-locked-pkg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.skeells-ais-locked-pkg-name {
    font-size: 12px;
    font-weight: 500;
    color: #1a2332;
}

.skeells-ais-locked-pkg-badge {
    font-size: 11px;
    font-weight: 500;
    background: #31C970;
    color: #1a2332;
    padding: 2px 8px;
    border-radius: 100px;
}

.skeells-ais-locked-pkg-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.skeells-ais-locked-pkg-price strong {
    font-size: 20px;
    font-weight: 500;
    color: #1a2332;
}

.skeells-ais-locked-pkg-price span {
    font-size: 12px;
    color: #888;
}

.skeells-ais-locked-footer {
    padding: 0 18px 18px;
}

.skeells-ais-locked-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #31C970;
    color: #1a2332 !important;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 0;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background .2s ease;
}

.skeells-ais-locked-cta:hover {
    background: #28b562;
    text-decoration: none !important;
}

/* ── ACTIVE: Credits bar ──────────────────────── */
.skeells-ais-active {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.skeells-ais-credits-bar {
    background: #1a2332;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.skeells-ais-pkg-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skeells-ais-pkg-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(49, 201, 112, .18);
    border: 1px solid rgba(49, 201, 112, .3);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #31C970;
    font-family: 'Red Hat Display', sans-serif;
    white-space: nowrap;
}

.skeells-ais-pkg-label {
    font-size: 11px;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: .7px;
    font-weight: 600;
    margin-bottom: 1px;
}

.skeells-ais-pkg-name {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.skeells-ais-credits-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skeells-ais-credits-num {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #31C970;
    line-height: 1;
}

.skeells-ais-credits-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    margin-top: 2px;
}

.skeells-ais-bar-wrap {
    width: 100px;
}

.skeells-ais-bar-track {
    height: 5px;
    background: rgba(255, 255, 255, .1);
    border-radius: 100px;
    overflow: hidden;
}

.skeells-ais-bar-fill {
    height: 100%;
    background: #31C970;
    border-radius: 100px;
    transition: width .5s ease;
}

.skeells-ais-bar-pct {
    font-size: 11px;
    color: rgba(255, 255, 255, .3);
    margin-top: 3px;
    text-align: right;
}

/* ── ACTIVE: Search box ───────────────────────── */
.skeells-ais-search-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    padding: 18px 20px;
}

.skeells-ais-search-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 10px;
}

.skeells-ais-ai-badge {
    background: linear-gradient(135deg, #31C970, #1a9e55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
}

.skeells-ais-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.skeells-ais-ta {
    flex: 1;
    background: #F4F8F7;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 15px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 14px;
    color: #242424;
    resize: none;
    outline: none;
    line-height: 1.5;
    min-height: 48px;
    transition: border-color .2s;
    width: 100%;
}

.skeells-ais-ta:focus {
    border-color: #31C970;
}

.skeells-ais-btn-search {
    flex-shrink: 0;
    background: #1a2332;
    color: #fff;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 0 20px;
    height: 48px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all .2s;
    white-space: nowrap;
}

.skeells-ais-btn-search:hover {
    background: #31C970;
    color: #1a2332;
}

.skeells-ais-btn-search:disabled {
    opacity: .55;
    pointer-events: none;
}

.skeells-ais-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
    align-items: center;
}

.skeells-ais-chips-label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
}

.skeells-ais-chip {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #6B7280;
    cursor: pointer;
    font-family: 'Red Hat Text', sans-serif;
    transition: all .15s;
}

.skeells-ais-chip:hover {
    border-color: #31C970;
    color: #31C970;
    background: rgba(49, 201, 112, .05);
}

/* ── Loading ──────────────────────────────────── */
.skeells-ais-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 36px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf0;
}

.skeells-ais-loading p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.skeells-ais-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #E5E7EB;
    border-top-color: #31C970;
    border-radius: 50%;
    animation: skeells-spin .7s linear infinite;
}

@keyframes skeells-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Results ──────────────────────────────────── */
.skeells-ais-summary-bar {
    background: #fff;
    border: 1px solid #e8edf0;
    border-radius: 10px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.skeells-ais-summary-query {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.skeells-ais-summary-query span {
    font-size: 13px;
    font-weight: 500;
    color: #242424;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skeells-ais-qtag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(49, 201, 112, .1);
    color: #1a9e55;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.skeells-ais-clear-btn {
    font-size: 12px;
    color: #6B7280;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Red Hat Text', sans-serif;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all .15s;
    white-space: nowrap;
}

.skeells-ais-clear-btn:hover {
    background: #F4F8F7;
    color: #242424;
}

.skeells-ais-section-hdr {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.skeells-ais-section-hdr h3 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
}

.skeells-ais-badge-rec {
    background: linear-gradient(135deg, #31C970, #27a85c);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 100px;
    letter-spacing: .4px;
}

.skeells-ais-badge-n {
    background: #F4F8F7;
    color: #6B7280;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 100px;
}

.skeells-ais-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 20px;
}

.skeells-ais-div-line {
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.skeells-ais-divider span {
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Match bar (în carduri) ───────────────────── */
.skeells-ais-match-bar {
    padding: 9px 20px;
    border-top: 1px solid #F0F4F2;
    border-bottom: 1px solid #F0F4F2;
    background: rgba(49, 201, 112, .03);
}

.skeells-ais-match-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.skeells-ais-match-lbl {
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.skeells-ais-match-track {
    flex: 1;
    height: 4px;
    background: #E5E7EB;
    border-radius: 100px;
    overflow: hidden;
}

.skeells-ais-match-fill {
    height: 100%;
    border-radius: 100px;
}

.skeells-ais-match-pct {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Red Hat Display', sans-serif;
    white-space: nowrap;
}

.skeells-ais-match-reason {
    font-size: 12px;
    color: #1a7a45;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* ── Empty / Error ────────────────────────────── */
.skeells-ais-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf0;
    color: #6B7280;
}

.skeells-ais-empty svg {
    margin-bottom: 10px;
}

.skeells-ais-empty p {
    font-size: 14px;
    margin: 0 0 16px;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .skeells-ais-credits-right {
        display: none;
    }

    .skeells-ais-input-row {
        flex-direction: column;
    }

    .skeells-ais-btn-search {
        width: 100%;
        justify-content: center;
    }
}

/* ── LOCKED: elemente noi ───────────────────────── */
.skeells-ais-locked-icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(49, 201, 112, .15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skeells-ais-locked-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.skeells-ais-locked-col {
    text-align: right;
}

.skeells-ais-locked-col-label {
    font-size: 10px;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 4px;
}

.skeells-ais-locked-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    font-size: 11px;
    margin-bottom: 3px;
}

.skeells-ais-locked-no {
    color: #F45B5B;
}

.skeells-ais-locked-yes {
    color: #31C970;
}

.skeells-ais-locked-separator {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .1);
}

.skeells-ais-locked-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.skeells-ais-locked-pkg-card {
    border: 0.5px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px 12px;
}

.skeells-ais-locked-pkg-card.skeells-ais-locked-pkg-featured {
    border: 2px solid #31C970;
}

.skeells-ais-locked-pkg-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    font-family: 'Red Hat Display', sans-serif;
}

.skeells-ais-locked-pkg-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skeells-ais-locked-rec-badge {
    font-size: 10px;
    background: #31C970;
    color: #1a2332;
    padding: 1px 7px;
    border-radius: 100px;
    font-weight: 600;
}

.skeells-ais-locked-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skeells-ais-locked-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.skeells-ais-feat-yes {
    color: #242424;
}

.skeells-ais-feat-no {
    color: #9CA3AF;
}

.skeells-ais-locked-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #31C970;
    color: #1a2332 !important;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: background .2s ease;
}

.skeells-ais-locked-cta-pill:hover {
    background: #28b562;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .skeells-ais-locked-compare {
        display: none;
    }

    .skeells-ais-locked-grid {
        grid-template-columns: 1fr;
    }
}

/* ── SIDEBAR MODE: button full width, no chips ── */
.skeells-ais-btn-full {
    width: 100% !important;
    height: 44px !important;
    justify-content: center;
    margin-top: 8px;
    border-radius: 8px !important;
}

/* Credits bar compact pe 2 rânduri în sidebar */
@media (max-width: 480px),
(min-width: 768px) and (max-width: 1100px) {
    .skeells-ais-credits-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }

    .skeells-ais-credits-right {
        width: 100%;
        justify-content: space-between;
    }

    .skeells-ais-bar-wrap {
        width: 100%;
    }

    .skeells-ais-credits-num {
        font-size: 22px !important;
    }
}

/* Textarea mai înaltă când e singură (fără chips) */
.skeells-ais-ta {
    min-height: 72px !important;
}

/* ── Locked: fake search bar ── */
.skeells-ais-fake-search {
    background: #F4F8F7;
    border: 1.5px dashed #D1D5DB;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.skeells-ais-fake-search span {
    font-size: 12px;
    color: #9CA3AF;
}

/* ── Locked: CTA pill full width ── */
.skeells-ais-locked-cta-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #31C970;
    color: #1a2332 !important;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 11px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background .2s ease;
    width: 100%;
    margin-bottom: 8px;
}

.skeells-ais-locked-cta-pill:hover {
    background: #28b562;
    text-decoration: none !important;
}

/* ── Locked: price note ── */
.skeells-ais-locked-price {
    text-align: center;
    font-size: 11px;
    color: #9CA3AF;
    margin: 0 0 10px;
}

.skeells-ais-locked-price strong {
    color: #6B7280;
    font-weight: 600;
}

/* ── Locked: package text links ── */
.skeells-ais-locked-pkg-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #9CA3AF;
}

.skeells-ais-locked-pkg-links a {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}

.skeells-ais-locked-pkg-links a:hover {
    color: #31C970;
    text-decoration: underline;
}

/* ── Locked A: benefits list ── */
.skeells-ais-locked-benefits {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}

.skeells-ais-locked-benefit {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #242424;
}

.skeells-ais-locked-benefit svg {
    flex-shrink: 0;
}

/* ── Locked: fake search ── */
.skeells-ais-fake-search {
    background: #F4F8F7;
    border: 1.5px dashed #D1D5DB;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.skeells-ais-fake-search span {
    flex: 1;
    font-size: 12px;
    color: #9CA3AF;
}

.skeells-ais-fake-lock {
    width: 24px;
    height: 24px;
    background: #E5E7EB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Locked: CTA pill full width ── */
.skeells-ais-locked-cta-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #31C970;
    color: #1a2332 !important;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 11px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background .2s ease;
    width: 100%;
    margin-bottom: 8px;
}

.skeells-ais-locked-cta-pill:hover {
    background: #28b562;
    text-decoration: none !important;
}

/* ── Locked: price ── */
.skeells-ais-locked-price {
    text-align: center;
    font-size: 11px;
    color: #9CA3AF;
    margin: 0 0 10px;
}

.skeells-ais-locked-price strong {
    color: #6B7280;
    font-weight: 600;
}

/* ── Locked: package links ── */
.skeells-ais-locked-pkg-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #9CA3AF;
}

.skeells-ais-locked-pkg-links a {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}

.skeells-ais-locked-pkg-links a:hover {
    color: #31C970;
    text-decoration: underline;
}