/* Broker Manager Styles */
.bm-brokers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bm-broker-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.bm-broker-card.bm-featured {
    border: 1px solid #ff9900;
    background: #fffdf5;
}

.bm-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff9900;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bm-card-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

/* Logo Col */
.bm-col-logo {
    flex: 0 0 120px;
    text-align: center;
}

.bm-logo-wrapper {
    height: 80px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 10px;
}

.bm-logo {
    max-height: 60px;
    width: auto;
}

.bm-no-logo {
    color: #999;
    font-size: 12px;
}

.bm-stars {
    color: #f1c40f; 
    font-size: 16px; 
    letter-spacing: 2px;
}

.bm-rating-num {
    font-size: 12px; 
    color: #777; 
    font-weight: bold;
}

/* Details Col */
.bm-col-details {
    flex: 1; 
    min-width: 250px;
}

.bm-col-details h3 {
    margin: 0 0 10px; 
    color: #333;
}

.bm-meta-row {
    display: flex; 
    gap: 15px; 
    font-size: 13px; 
    color: #555; 
    margin-bottom: 12px;
}

.bm-meta-row span {
    background: #f8f9fa; 
    padding: 4px 8px; 
    border-radius: 4px;
}

.bm-pros strong {
    color: #2d8a34; 
    font-size: 12px;
}

.bm-pros ul {
    margin: 5px 0 0 15px; 
    padding: 0; 
    font-size: 13px; 
    color: #444;
}

/* Action Col */
.bm-col-action {
    flex: 0 0 160px; 
    text-align: center; 
    align-self: center;
}

.bm-btn {
    display: block; 
    width: 100%; 
    background: #0073aa; 
    color: #fff; 
    text-decoration: none; 
    padding: 12px 0; 
    border-radius: 4px; 
    font-weight: bold; 
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.bm-btn:hover {
    background: #005177;
}

.bm-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.bm-col-action small {
    display: block; 
    margin-top: 5px; 
    color: #999; 
    font-size: 10px;
}

@media(max-width: 600px) {
    .bm-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bm-col-logo, .bm-col-details, .bm-col-action {
        width: 100%;
        flex: auto;
    }
    .bm-meta-row {
        justify-content: center;
    }
    .bm-pros ul {
        list-style: none; /* easier for centered text */
        margin: 5px 0;
    }
}
