/* cards.css - Simple broker cards design */

.brokers-page-wrapper {
    padding: 120px 0 60px;
    background: #324a5f;
    min-height: calc(100vh - 200px);
}

.dark-header {
    background: #1b2a41 !important;
    position: relative !important;
    padding: 20px 0 !important;
}

.dark-header .site-logo img {
    filter: brightness(0) invert(1);
}

.dark-header .site-menu-toggle span {
    background: #fff !important;
}

.dark-header.menu-open .site-menu-toggle span {
    background: #000000 !important;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.page-header p {
    color: #666;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.broker-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.broker-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    position: relative;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.broker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
    border-color: #13b629;
}

.broker-card.top-choice {
    border-color: #13b629;
    background: rgba(19, 182, 41, 0.02);
}

.top-pick {
    position: absolute;
    top: -1px;
    left: 30px;
    background: #13b629;
    color: white;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 0 6px 6px;
    letter-spacing: 1.5px;
}

.rank-number {
    position: absolute;
    top: 20px;
    right: 25px;
    background: #1b2a41;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.card-layout {
    display: grid;
    grid-template-columns: 250px 1fr 200px;
    gap: 30px;
    align-items: start;
    margin-top: 10px;
}

.logo-section {
    text-align: center;
}

.broker-logo {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border: 1px solid #e9ecef;
}

.logo-placeholder {
    width: 180px;
    height: 100px;
    background: #1b2a41;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 auto 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.broker-name {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.2;
}

.rating {
    margin-bottom: 0;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.star {
    font-size: 18px;
    color: #ffc107;
}

.star.empty {
    color: #ddd;
}

.score {
    font-size: 14px;
    font-weight: 600;
    color: #13b629;
    background: rgba(19, 182, 41, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
}

.info-section {
    padding: 0;
}

.description {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    padding: 6px 0;
}

.advantage i {
    color: #13b629;
    font-size: 14px;
    flex-shrink: 0;
}

.action-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.visit-btn {
    background: #13b629;
    color: white;
    padding: 14px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-shadow: 0 3px 10px rgba(19, 182, 41, 0.3);
}

.visit-btn:hover {
    background: #0fa025;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(19, 182, 41, 0.4);
}

.review-btn {
    background: transparent;
    color: #1b2a41;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #1b2a41;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.review-btn:hover {
    background: #1b2a41;
    color: white;
    transform: translateY(-2px);
}

.updated {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    text-align: center;
}

.all-brokers-link {
    background: #1b2a41;
    color: white;
    padding: 16px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.all-brokers-link:hover {
    background: #13b629;
    transform: translateY(-2px);
}

.disclaimer {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    margin-top: 40px;
    border-left: 4px solid #13b629;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.disclaimer h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b2a41;
    margin-bottom: 12px;
}

.disclaimer p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    text-align: justify;
}

.no-brokers {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.no-brokers p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .card-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .logo-section {
        order: 1;
    }
    
    .info-section {
        order: 2;
    }
    
    .action-section {
        order: 3;
        flex-direction: row;
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .advantages {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .brokers-page-wrapper {
        padding: 100px 0 40px;
    }
    
    .broker-card {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .page-header {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .logo-placeholder {
        width: 150px;
        height: 80px;
        font-size: 24px;
    }
    
    .broker-logo {
        max-width: 150px;
        max-height: 80px;
    }
    
    .action-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .visit-btn,
    .review-btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .rank-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
        top: 15px;
        right: 15px;
    }
    
    .top-pick {
        left: 15px;
        padding: 6px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .broker-card {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 15px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .advantage {
        font-size: 12px;
    }
    
    .broker-name {
        font-size: 18px;
    }
}