/**
 * Frontend-Styles für FBM Partner Logo Slider
 * Im Stil des Cirkle Themes
 */

.fbm-pls-slider-container {
    position: relative;
    width: 100%;
    margin: 40px 0;
    padding: 20px 0;
}

.fbm-pls-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.fbm-pls-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.fbm-pls-slide {
    flex: 0 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.fbm-pls-logo-wrapper,
.fbm-pls-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-out;
}

.fbm-pls-logo-image {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease-out;
}

.fbm-pls-logo-link:hover .fbm-pls-logo-image,
.fbm-pls-logo-wrapper:hover .fbm-pls-logo-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.fbm-pls-logo-link {
    text-decoration: none;
    border-radius: 4px;
    padding: 10px;
    transition: all 0.3s ease-out;
}

.fbm-pls-logo-link:hover {
    background: rgba(45, 91, 227, 0.05);
}

/* Navigation Arrows */
.fbm-pls-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fbm-pls-arrow:hover {
    background: #2d5be3;
    border-color: #2d5be3;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 91, 227, 0.3);
}

.fbm-pls-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.fbm-pls-arrow .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.fbm-pls-arrow-prev {
    left: -25px;
}

.fbm-pls-arrow-next {
    right: -25px;
}

.fbm-pls-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.fbm-pls-arrow.disabled:hover {
    background: #ffffff;
    border-color: #eaeaea;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dots Navigation */
.fbm-pls-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 0;
}

.fbm-pls-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #eaeaea;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
    padding: 0;
}

.fbm-pls-dot:hover {
    background: #2d5be3;
    transform: scale(1.2);
}

.fbm-pls-dot.active {
    background: #2d5be3;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .fbm-pls-arrow-prev {
        left: 10px;
    }
    
    .fbm-pls-arrow-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .fbm-pls-slider-container {
        margin: 30px 0;
        padding: 15px 0;
    }
    
    .fbm-pls-slide {
        padding: 0 10px;
        min-height: 100px;
    }
    
    .fbm-pls-logo-image {
        max-height: 80px;
    }
    
    .fbm-pls-arrow {
        width: 40px;
        height: 40px;
    }
    
    .fbm-pls-arrow .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
    
    .fbm-pls-arrow-prev {
        left: 5px;
    }
    
    .fbm-pls-arrow-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .fbm-pls-slide {
        padding: 0 5px;
        min-height: 80px;
    }
    
    .fbm-pls-logo-image {
        max-height: 60px;
    }
    
    .fbm-pls-arrow {
        width: 35px;
        height: 35px;
    }
    
    .fbm-pls-arrow .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}

/* Loading State */
.fbm-pls-slider-container.loading .fbm-pls-slider-track {
    opacity: 0.5;
}

/* Accessibility */
.fbm-pls-arrow:focus,
.fbm-pls-dot:focus {
    outline: 2px solid #2d5be3;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .fbm-pls-arrow,
    .fbm-pls-dots {
        display: none;
    }
    
    .fbm-pls-slider-track {
        flex-wrap: wrap;
    }
    
    .fbm-pls-slide {
        width: 25%;
        page-break-inside: avoid;
    }
}
