﻿.container-rtl {
    direction: rtl;
    max-width: 980px;
    margin: 24px auto;
    padding: 0 12px;
}

.crumbs {
    color: #6b7280;
    font-size: .9rem;
    margin-bottom: 12px;
    display: flex;
    gap: 6px;
}

.page-title {
    text-align: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0b1426;
    margin: 8px 0 18px;
}

.search-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 18px;
}

.search-input {
    width: min(520px,80vw);
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 12px;
}

.btn-primary {
    height: 44px;
    padding: 0 16px;
    background: #1d4ed8;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
}

.agents-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty {
    text-align: center;
    color: #6b7280;
    padding: 20px;
}

.agent-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    padding: 16px;
}

.agent-body {
    display: flex;
    gap: 16px;
    align-items: center;
}

.agent-info {
    flex: 1;
    min-width: 0;
}

.agent-name {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b1426;
}

.agent-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

    .agent-actions .ico {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: #f3f4f6;
        transition: filter .2s;
    }

        .agent-actions .ico:hover {
            filter: brightness(.95);
        }

.ads-link {
    color: #0b1426;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    gap: 6px;
}

    .ads-link .count {
        color: #1d4ed8;
    }

.agent-desc {
    color: #4b5563;
    line-height: 1.9;
    margin: 0;
}

.agent-logo {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

    .agent-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.featured-badge {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    background: #e11d48;
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    padding: .25rem .5rem;
    border-radius: 8px;
}

@media (max-width:640px) {
    .agent-body {
        align-items: flex-start;
    }

    .agent-logo {
        width: 84px;
        height: 84px;
    }
}
.form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    max-width: 720px;
    margin: 0 auto;
}

    .form-card .row {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }

    .form-card label {
        color: #374151;
        font-weight: 700;
    }

    .form-card input, .form-card textarea {
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 10px 12px;
        font-size: 1rem;
    }

    .form-card .grid2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

.chk {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px;
}

.btn-link {
    margin-inline-start: 8px;
    color: #374151;
    text-decoration: none;
}

@media (max-width:640px) {
    .form-card .grid2 {
        grid-template-columns: 1fr;
    }
}

.text-danger {
    color: #e11d48;
    font-size: .9rem;
}
.badge-inline {
    background: #e11d48;
    color: #fff;
    border-radius: 8px;
    padding: 2px 8px;
    margin-inline-start: 8px;
    font-size: .8rem;
    font-weight: 800;
}



 
