﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    width: 50%;
    max-width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.form-side {
    flex: 1;
    padding: 40px;
}

.image-side img {
    widrh: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #666;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        border-radius:30px;
    }

        .form-group input:focus {
            outline: none;
            border-color: #ff3131;
        }

.toggle-password {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

    .toggle-password input {
        margin-right: 10px;
    }

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #182024, #607179);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .btn-login:hover {
        opacity: 0.9;
    }

.logo {
    position: absolute;
    opacity: 20%;
    width: 500px;
    height: 500px;
    object-fit: cover;
    right: 77%;
    top: 30%;
    rotate: 1deg;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .login-container {
        width:80%;
        flex-direction: column;
    }
    .logo {
        position: absolute;
        opacity: 20%;
        width: 500px;
        height: 500px;
        object-fit: cover;
        right: 28%;
        top: 30%;
        rotate: 1deg;
        margin-bottom: 20px;
    }
    .image-side {
        display: none;
    }
}