/* MIV İş Arayan — Sidebar Widget Stilleri */

.miv-ia-sidebar-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Header ── */
.miv-ia-sw-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E07B20;
}
.miv-ia-sw-header svg {
    color: #E07B20;
    flex-shrink: 0;
}
.miv-ia-sw-header span {
    font-size: 13px;
    font-weight: 700;
    color: #1A2B4A;
    text-transform: uppercase;
    letter-spacing: .05em;
    flex: 1;
}
.miv-ia-sw-all {
    font-size: 11px;
    color: #E07B20;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}
.miv-ia-sw-all:hover { text-decoration: underline; }

/* ── Liste ── */
.miv-ia-sw-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

/* ── Tek ilan kartı ── */
.miv-ia-sw-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #F0F0F0;
    transition: border-color .15s;
}
.miv-ia-sw-item:hover {
    border-color: #E07B20;
    background: #FFF9F3;
}

/* ── Avatar ── */
.miv-ia-sw-avatar {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: #1A2B4A;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -.3px;
}

/* ── Bilgi ── */
.miv-ia-sw-info { flex: 1; min-width: 0; }

.miv-ia-sw-name {
    font-size: 13px;
    font-weight: 600;
    color: #1A2B4A;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.miv-ia-sw-new {
    font-size: 9px;
    font-weight: 700;
    background: #E07B20;
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: .03em;
}

.miv-ia-sw-pos {
    font-size: 12px;
    color: #E07B20;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.miv-ia-sw-meta {
    display: flex;
    gap: 8px;
    margin-top: 3px;
    flex-wrap: wrap;
}
.miv-ia-sw-meta span {
    font-size: 11px;
    color: #6B7280;
}
.miv-ia-sw-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 8px;
}

/* ── Beceri etiketleri ── */
.miv-ia-sw-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}
.miv-ia-sw-tag {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    background: #FFF3E8;
    color: #C96C15;
    border-radius: 3px;
    border: 1px solid rgba(224,123,32,.2);
}

/* ── CTA butonu ── */
.miv-ia-sw-cta {
    display: block;
    text-align: center;
    padding: 9px 14px;
    background: #E07B20;
    color: #fff !important;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s;
}
.miv-ia-sw-cta:hover { background: #C96C15 !important; }

/* ── miv2-card sarması (ilan detay sayfası) ── */
.miv-ia-sidebar-card {
    padding: 16px !important;
    margin-top: 12px;
}

/* ── Eklenti yokken gizle (widget_area boşken) ── */
.widget.miv_ia_widget:empty { display: none; }
