﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100dvh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Layout */
.login-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100dvh;
    max-height: 100dvh;
}

.left-panel {
    background-color: #fff;
    max-width: 420px;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.right-panel {
    flex: 1;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

/* Carousel structure */
#loginCarousel,
.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
    width: 100%;
}

    .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
        border: none;
    }

    /* Specific object-position per slide */
    .carousel-item:nth-child(1) img {
        object-position: center top;
    }

    .carousel-item:nth-child(2) img {
        object-position: center center;
    }

    .carousel-item:nth-child(3) img {
        object-position: center bottom;
    }

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    bottom: unset;
}

/* Mobile responsiveness */
@media (max-width: 767.98px) {
    .right-panel {
        display: none !important;
    }

    .login-wrapper {
        justify-content: center;
    }

    .left-panel {
        max-width: 100%;
        box-shadow: none;
    }
}
