﻿body {
    background: #f0f4f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Loading ekranı */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading img {
    width: 120px;
    margin-bottom: 1rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #00df83; /* Temaya Göre Güncelle */
}

.login-wrapper {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.login-left {
    flex: 1;
    background: #00df83; /* Temaya Göre Güncelle */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #fff;
}

.login-left img {
    width: 150px;
    margin-bottom: 1rem;
}

.login-left h2 {
    margin-bottom: 1rem;
}

.login-right {
    flex: 1;
    padding: 50px 40px;
}

.login-right h2 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1.5px solid #ddd;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #00df83; /* Temaya Göre Güncelle */
        box-shadow: 0 0 6px rgba(0,223,131,0.3); /* Temaya Göre Güncelle */
    }

.btn-login {
    background: #00df83; /* Temaya Göre Güncelle */
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    transition: 0.3s;
}

    .btn-login:hover {
        background: #00b96c; /* Temaya Göre Güncelle */
        color: #fff;
    }

.extra-links {
    margin-top: 15px;
    font-size: 14px;
}

    .extra-links a {
        text-decoration: none;
        color: #00df83; /* Temaya Göre Güncelle */
        font-weight: 500;
    }

        .extra-links a:hover {
            text-decoration: underline;
        }

/* Şifre göz butonu */
.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 40px; /* sağa boşluk */
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

    .password-toggle:hover {
        color: #00df83; /* Temaya Göre Güncelle */
    }


/* Mobil düzen */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column; /* üst-alta çevirir */
        margin: 10px;
    }

    .login-left, .login-right {
        width: 100%;
        flex: none;
    }

    .login-left {
        padding: 30px 20px;
        text-align: center;
    }

    .login-right {
        padding: 30px 20px;
    }

    .login-left img {
        max-width: 180px;
        margin-bottom: 20px;
    }
}