/* Carousel Standardization */
.custom-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    /* Fixed height standard */
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.custom-carousel-img {
    width: 100%;
    height: 200px;
    /* Force fix height */
    object-fit: cover;
    /* Crop to fit, don't distort */
    cursor: pointer;
    display: block;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lot-tooltip-image-placeholder {
    width: 100%;
    height: 150px;
    background: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 6px;
    margin-bottom: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
    left: 8px;
}

.carousel-btn.next {
    right: 8px;
}

.carousel-counter-container {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 9;
}

.carousel-counter {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* Landing Splash Carousel Premium Styles */
.landing-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 350px;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.landing-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1.5s ease-out;
    transform: scale(1.05); /* Slight zoom effect for dynamism */
}

.landing-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot.active {
    background: #3b82f6;
    width: 24px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Responsive adjustment for Login Container */
@media (max-width: 1023px) {
    .login-container {
        grid-template-columns: 1fr !important;
        overflow-y: auto;
        height: 100vh;
        gap: 0;
    }
    
    .login-splash-side {
        display: none !important; /* Esconder splash no mobile para focar no login v2 */
    }
    
    .landing-carousel-wrapper {
        height: 100%;
        width: 100%;
        max-width: none;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .login-form-side {
        padding: 30px 20px !important;
        height: auto;
    }

    .splash-title {
        font-size: 1.8rem !important;
        text-align: center;
        padding: 0 10px;
    }
}