/* ==========================================================================
   Omnitral — ajan seçici bölümü
   Sol: editoryal metin. Sağ: tıklanabilir terminal/ajan paneli.
   ========================================================================== */

.agents-page {
    background: #000;
}

.agents-main {
    padding: clamp(48px, 8vw, 104px) clamp(20px, 4vw, 40px) 96px;
}

.agents-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
    max-width: 1180px;
    margin-inline: auto;
}

.agents-copy {
    max-width: 520px;
    display: grid;
    gap: 18px;
}

.agents-copy .kicker {
    color: #b9b9b9;
}

.agents-copy h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.3rem);
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.agents-copy .btn {
    justify-self: start;
}

.agents-points {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.agents-points li {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
    color: #9a9a9a;
    font-size: 13.5px;
}

.agents-points li::before {
    content: "—";
    color: #9a9a9a;
    font-family: var(--font-mono);
    font-size: 11px;
}

/* Panel */

.picker-wrap {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.picker {
    width: 100%;
    max-width: 372px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: #0a0a0a;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85);
    overflow: hidden;
}

.picker.is-hidden {
    display: none;
}

.picker-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0c0c0c;
}

.picker-title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #8a8a8a;
    margin-inline: auto;
}

.picker-x {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #8a8a8a;
    font-size: 14px;
    cursor: pointer;
}

.picker-x:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.picker-new {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #e6e6e6;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.picker-new:hover {
    background: rgba(255, 255, 255, 0.05);
}

.picker-new .plus {
    color: #9a9a9a;
    font-size: 12px;
}

.picker-new kbd {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: #9a9a9a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    padding: 1px 5px;
}

.agent-list {
    display: grid;
    padding: 4px 0;
    max-height: 396px;
    overflow: auto;
}

.agent-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-left: 2px solid transparent;
    background: transparent;
    color: #cfcfcf;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.agent-row:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.agent-row.is-active {
    background: rgba(255, 255, 255, 0.07);
    border-left-color: #fff;
    color: #fff;
}

.agent-mark {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--font-mono);
    font-size: 8.5px;
    color: #dedede;
    background: rgba(255, 255, 255, 0.03);
}

.agent-row.is-active .agent-mark {
    border-color: rgba(255, 255, 255, 0.5);
    background: #fff;
    color: #000;
}

.agent-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agent-hint {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.04em;
    color: #9a9a9a;
}

.picker-foot {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #9a9a9a;
    font-family: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.picker-foot:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.foot-ico {
    font-size: 10px;
    color: #9a9a9a;
}

.picker-foot .chev {
    margin-left: auto;
    font-size: 9px;
    color: #9a9a9a;
    transition: transform 160ms ease;
}

.picker-foot[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.term-list {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #070707;
}

.term-list[hidden] {
    display: none;
}

.term-row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    font-size: 11.5px;
    color: #b4b4b4;
}

.term-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.term-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a4a4a;
    justify-self: center;
}

.term-dot.is-on {
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.term-name {
    font-family: var(--font-mono);
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.term-close {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9a9a9a;
    font-size: 12px;
    cursor: pointer;
}

.term-close:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.picker-status {
    justify-self: end;
    max-width: 372px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: #9a9a9a;
    text-align: right;
    min-height: 16px;
}

.picker-status b {
    color: #e2e2e2;
    font-weight: 500;
}

.status-open {
    margin-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: #dcdcdc;
    font-family: var(--font-mono);
    font-size: 9.5px;
    padding: 2px 7px;
    cursor: pointer;
}

.status-open:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Duyarlı */

@media (max-width: 980px) {
    .agents-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agents-copy {
        max-width: 620px;
    }

    .picker-wrap {
        justify-items: start;
    }

    .picker {
        max-width: 420px;
    }

    .picker-status {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .agents-main {
        padding-top: 32px;
    }

    .agent-hint {
        display: none;
    }
}


/* ---------- Gerçek marka logoları ---------- */
.agent-row img.agent-mark {
    width: 24px;
    height: 24px;
    object-fit: contain;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}
