.imob-indices-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop Grid */
.imob-indices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #000;
    padding: 10px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .imob-indices-grid {
        display: none;
    }
}

/* Card Base */
.imob-indices-card,
.imob-carousel-card {
    background: #111;
    border-radius: 6px;
    padding: 6px 12px;
    color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left Section - Title */
.imob-card-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 90px;
}

.imob-card-icon {
    font-size: 12px;
}

.imob-card-title {
    font-size: 11px;
    font-weight: 700;
    color: #D4AF37;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Center Section - Value */
.imob-card-center {
    flex: 1;
    text-align: center;
}

.imob-card-value {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.imob-card-period {
    display: none;
}

/* Right Section - Changes */
.imob-card-changes {
    display: flex;
    gap: 10px;
    font-size: 10px;
}

.imob-change {
    display: flex;
    align-items: center;
    gap: 2px;
}

.imob-change-label {
    color: #666;
    font-size: 9px;
}

.imob-change-value {
    font-weight: 700;
    font-size: 10px;
}

.imob-change-value.up {
    color: #D4AF37;
}

.imob-change-value.down {
    color: #FF6B6B;
}

/* Mobile Carousel */
@media (max-width: 768px) {
    .imob-carousel-viewport {
        overflow: hidden;
        width: 100%;
        background: #000;
        padding: 8px 0;
    }

    .imob-carousel-track {
        display: flex;
        gap: 8px;
        animation: imob-carousel-scroll 20s linear infinite;
        width: max-content;
        padding: 0 8px;
    }

    .imob-carousel-card {
        flex-shrink: 0;
        width: 220px;
        height: 30px;
        background: #111;
        border-radius: 6px;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        color: #fff;
    }

    @keyframes imob-carousel-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.333%);
        }
    }
}

@media (min-width: 769px) {
    .imob-carousel-viewport {
        display: none;
    }
}