/* RedferedAI carousel widget */

.redferedai-carousel-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.redferedai-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.redferedai-carousel-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.redferedai-carousel-slide img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.redferedai-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.redferedai-carousel-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.redferedai-carousel-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.redferedai-carousel-dots {
    display: flex;
    gap: 6px;
}

.redferedai-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s;
}

.redferedai-carousel-dot.active {
    background: #c0392b;
}

.redferedai-carousel-empty {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    padding: 12px 0;
}
