* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

html, body {
    height: 100%;
    background-color: #0a0a0a;
    overflow: hidden;
}

.login-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100%;
}

.left-panel, .right-panel {
    height: 100vh;
}

.left-panel {
    width: 50%;
    background-color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-panel {
    width: 50%;
    background-color: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    background-color: #292929;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 99%;
    justify-content: center;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #64ffda;
}

.input-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 0.5rem;
    color: #81d4fa;
}

.input-group input {
    padding: 0.75rem;
    padding-right: 3rem;
    border: none;
    border-radius: 5px;
    background-color: #121212;
    color: #fff;
    outline: none;
    width: 100%;
}

.input-group input:focus {
    border: 2px solid #64ffda;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-password svg {
    pointer-events: none;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.option-left,
.option-right {
    flex: 1;
}

.option-right a {
    color: #81d4fa;
    text-decoration: none;
}

.btn-login {
    padding: 0.75rem;
    background-color: #00bfa5;
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-login:hover {
    background-color: #1de9b6;
}

/* Mantenemos diseño horizontal en pantallas pequeñas */
@media (max-width: 768px) {
    .left-panel,
    .right-panel {
        width: 50%;
    }

    .login-form {
        max-width: 95%;
        height: 99%;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
    }

    .option-left,
    .option-right {
        width: 100%;
    }

    .option-left {
        margin-bottom: 0.5rem;
    }
}
