/* ===================================================================
   POP-UP MODAL BROKERI - SEPARAT EDITABIL
   =================================================================== */

.ecs-brokers-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ecs-brokers-modal.is-open {
    display: flex !important;
}

.ecs-brokers-modal__content {
    position: relative;
    background: #1e1f23;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
}

.ecs-brokers-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecs-brokers-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ecs-brokers-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
}

.ecs-brokers-modal__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-brokers-modal__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.ecs-brokers-modal__item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(42, 218, 73, 0.4);
    transform: translateX(5px);
}

.ecs-brokers-modal__item-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecs-brokers-modal__item-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ecs-brokers-modal__item-info {
    flex: 1;
}

.ecs-brokers-modal__item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.ecs-brokers-modal__item-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.ecs-brokers-modal__item-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #2ada49;
}

@media (max-width: 768px) {
    .ecs-brokers-modal__content {
        padding: 1.5rem;
    }
}