﻿/* ========== LOGIN ========== */
.login-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.login-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    margin: 0;
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

    .carousel-slide.active {
        opacity: 1;
    }

.login-curve {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

    .login-curve img {
        height: 100%;
        width: clamp(500px, 55vw, 900px);
        display: block;
        vertical-align: top;
    }

.login-form-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
}

.login-form-container {
    width: clamp(400px, 38vw, 600px);
    height: 100vh;
    background: #ffffff;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 121px;
    gap: 12px;
    width: 100%;
}

.divider {
    width: 1px;
    height: 47px;
    background: #005CB9;
    opacity: 0.34;
    border-radius: 6px;
    flex-shrink: 0;
}

.admin-hoteles-text {
    width: 199px;
    height: 53px;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 26px;
    line-height: 28px;
    text-align: right;
    color: var(--color-accent);
    display: block;
    flex-shrink: 0;
}

.logo-aviatur {
    width: 193px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.input-wrapper {
    margin-bottom: 20px;
    width: 100%;
}

.input-label {
    display: block;
    margin-bottom: 1px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #042A44;
}

.inputuser {
    width: 388px;
    height: 43px;
    padding: 0 12px;
    border: 1px solid rgba(216, 216, 216, 0.90);
    border-radius: 4px;
    background: #FFFFFF;
    font-size: 16px;
    color: #042A44;
    outline: none;
    box-sizing: border-box;
}

.login-form-btn {
    width: 264px;
    height: 56px;
    background: linear-gradient(180deg, #194B98 -6.25%, #0E3064 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 58px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 4px 8px 0px #00517440;
}

    .login-form-btn:hover {
        opacity: 0.9;
    }

.alert.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--color-danger);
    color: var(--color-danger);
    padding: 12px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .login-form-wrapper {
        justify-content: center;
        padding: 20px;
    }

    .login-form-container {
        width: 100%;
        max-width: 420px;
    }

    .login-form-btn {
        width: 100%;
    }

    .inputuser {
        width: 100%;
    }
}
