/* ETF-Broker Vergleich Page Specific Styles */

.etf-broker-guide .broker-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.etf-broker-guide .broker-card:hover {
    border-color: #bae6fd; /* light-blue-200 */
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2); /* light-blue-400 with opacity */
}

.etf-broker-guide .broker-card.winner {
    border-color: #38bdf8; /* light-blue-400 */
    background: linear-gradient(135deg, 
        rgba(56, 189, 248, 0.05) 0%, 
        rgba(56, 189, 248, 0.02) 100%);
}

.etf-broker-guide .broker-card .badge {
    background: #e0f2fe;  /* Light Blue Accent Color from previous step */
    color: #0c4a6e; /* Darker blue text for contrast */
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    position: absolute;
    top: -18px;
    right: 15px;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.etf-broker-guide .broker-card.winner .badge {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%); /* light-blue-400 to sky-500 */
    color: white;
}

.etf-broker-guide .broker-card img {
    max-height: 40px;
    margin-bottom: 1rem;
}

.etf-broker-guide .broker-card h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.etf-broker-guide .broker-card .rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.etf-broker-guide .broker-card .features {
    text-align: left;
    margin: 1.5rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.etf-broker-guide .broker-card .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.etf-broker-guide .broker-card .feature-item::before {
    content: "💰";
    font-size: 1.1rem;
}

.etf-broker-guide .broker-card .feature-item:nth-child(2)::before {
    content: "💡";
}

.etf-broker-guide .broker-card .feature-item:nth-child(3)::before {
    content: "🚀";
}

.etf-broker-guide .broker-card .learn-more {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.etf-broker-guide .broker-card .learn-more:hover {
    background: var(--primary-hover-color);
} 

/* Mobile: Show carousel */
@media (max-width: 768px) {
    .carousel-btn,
    .carousel-indicators {
        display: flex;
    }
    
    .broker-comparison-grid .carousel-track-container {
        overflow: hidden;
        border-radius: 12px;
        padding-top: 20px;
        width: 100%;
        position: relative;
    }
    
    .carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        transition: transform 0.3s ease !important;
    }
    
    .carousel-container .broker-card {
        flex: 0 0 calc(100% - 4px);
        min-width: calc(100% - 4px);
        width: calc(100% - 4px);
        box-sizing: border-box;
        margin: 0 2px;
        border: none;
        box-shadow: inset 0 0 0 1px #e5e7eb;
    }
    
    .carousel-container .broker-card.winner {
        box-shadow: inset 0 0 0 1px #10b981;
    }
    
    .carousel-container .broker-card:hover {
        transform: none;
    }
    
    .carousel-container .broker-card .badge {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
    
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e5e7eb;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
        color: #374151;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
        pointer-events: auto;
        user-select: none;
    }
    
    .carousel-btn:hover {
        background: white;
        border-color: #3b82f6;
        color: #3b82f6;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: #d1d5db;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background: #3b82f6;
    }
} 