.dashboard-carousel {
    padding: 100px 0 80px 0;
    background: #F8F9FC;
    border-bottom: 1px solid #e9e9e9;
}

.carousel-wrapper {
    background: #F8F9FC;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 90%;
    margin: 20px auto;
}

.carousel-main {
    position: relative;
    padding: 0;
    background: #f1f5f9;
}

.slides-container {
    position: relative;
    height: 450px;
    display: flex;
    overflow: hidden;
    
}

.slides-container::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.185),
            transparent);
    pointer-events: none;
    z-index: 5;
}

.slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* Botões de Navegação Flutuantes */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.nav-btn.prev {
    left: 40px;
}

.nav-btn.next {
    right: 40px;
}

.nav-btn:hover {
    transform: translateY(-53%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Indicadores (Dots) */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 15px;
    height: 15px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #CCB146;
}

/* Barra de Acesso Inferior */
.access-bar {
    cursor: pointer;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.access-bar:hover {
    background: #F8FAFC;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.access-bar:hover .access-arrow {
    background: #1E3250;
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.access-bar .access-icon svg {
    transition: transform 0.3s ease;
}

.access-bar:hover .access-icon svg {
    transform: scale(1.1);
}

.access-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.access-icon {
    background: #EEE9D7;
    padding: 12px;
    border-radius: 12px;
    color: #CDB34C;
}

.access-icon svg {
    width: 35px;
    height: 35px;
}

.access-text span {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: bold;
    color: #94a3b8;
    letter-spacing: 1px;
}

.access-text h3 {
    margin: 0;
    color: #1D304D;
    font-size: 1.5rem;
    line-height: 2rem;
}

.access-arrow {
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1D304D;
    transition: background 0.3s;
}

.access-arrow:hover {
    background: #e2e8f0;
}

/* Ajuste quando estiver em fullscreen */
.dashboard-carousel.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-carousel.fullscreen .carousel-wrapper {
    width: 100%;
    height: 100%;
}

.dashboard-carousel.fullscreen .access-bar {
    display: none;
}

/* Tablets */
@media (max-width: 1024px) {
    .slides-container {
        height: 50vw;
    }
    .nav-btn.prev { left: 1.5rem; }
    .nav-btn.next { right: 1.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    .access-bar {
        margin-left: -20px;
        align-items: flex-start;
    }
    .access-arrow {
        margin-top: 20px;
    }
    .dashboard-carousel {
        padding: 60px 0 60px 0;
    }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
    .access-text h3 {
        font-size: 1rem;
    }
    .access-text span {
        font-size: 0.65rem;
    }
    .nav-btn.prev { left: 1rem; }
    .nav-btn.next { right: 1rem; }
}