﻿/* WRAPPER */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;

    background: var(--TextColor);
    overflow: hidden;
    background-image: url(../../img/login/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* BOX */
.login-box {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: var(--MenuColor);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.15);
}

/* INFO */
.login-left {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: var(--TextColor);
}

.login-logo {
    width: 60%;
    margin: 0 auto 20px;
}

.login-info {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FORM */
.login-right {
    width: 50%;
    background: white;
    padding: 30px;
    position: relative;
    z-index: 2;
}


.login-header {
    font-size: 20px;
    font-weight: bold;
    color: #1A2035;
    text-align: center;
}

/* FAST LOGIN */
.icon-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background:white;
    padding-inline:5px;
    z-index:1000;
}
.fast-login-user-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    /* Beyaz arka plan */ border-radius: 6px;
    /* Hafif yuvarlatılmış köşeler */ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Gölge efekti */ max-height: 0;
    /* Başlangıçta kapalı */ overflow-y: auto;
    z-index: 10;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.fast-login-user, .fast-login-user-delete {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.fast-login-user-list.show {
    max-height: 300px;
    /* Dropdown yüksekliği */ opacity: 1;
}

.fast-login-user-list ul {
    list-style: none;
    margin: 0;
}

.fast-login-user-list li {
    padding: 0px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

    .fast-login-user-list li:hover {
        background-color: #f0f0f0;
    }

.fast-login-user {
    width: 100%;
    padding: 10px 15px;
}

.fast-login-user-delete:hover {
    transition: all 0.3s;
    transform: scale(1.1);
    color: red;
}
/* MOBILE */
@media (max-width: 768px) {

    .login-box {
        flex-direction: column;
        max-width: 400px;
    }

    .login-left {
        width: 100%;
        order: -1; /* 🔥 info üste */
        text-align: center;
        padding: 20px;
    }

    .login-logo {
        width: 50%;
    }

    

    .login-right {
        width: 100%;
        padding: 25px;
    }
}

/*welcome screeen css*/ 
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: logoAppear 2s ease forwards; /* animasyon başlıyor ve sonunda kalma */
    will-change: opacity;
}

    .welcome-screen img {
        width: 100px;
        opacity: 1;
        animation: logoAppearImg 2s ease forwards;
        will-change: transform, opacity;
    }
/* Keyframe animasyonu */
@keyframes logoAppear {
    0% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes logoAppearImg {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(2.5);
    }

    80% {
        transform: scale(2.5);
    }

    100% {
        transform: scale(30);
    }
}