/**
 * Zuhur Exchange - Hero Carousel Styles
 */

/* Rates Carousel Container */
.rates-carousel {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

/* Carousel Item */
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    background: rgba(0, 123, 255, 0.05);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Rate Item Styling */
.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: rgba(0, 123, 255, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
    border-left: 3px solid #0056b3;
}

.rate-currency {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-flag-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-flag-mini img {
    width: 100%;
    height: auto;
}

.currency-code {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.rate-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rate-buy {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.rate-trend {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-up {
    color: #4cd964;
}

.trend-down {
    color: #ff3b30;
}

.trend-neutral {
    color: #8e8e93;
}
