﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/bglogin.jpg") no-repeat center center;
    background-size: cover;
    filter: grayscale(100%);
    z-index: -1;
}

.login-wrapper {
    backdrop-filter: blur(5px);
    border-radius: 5px;
    width: 900px;
    height: 500px;
    max-width: 95%;
    display: flex;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    overflow: hidden;
    color: #fff;
}

.login-logo {
    width: 150px; /* ajusta según el tamaño deseado */
    margin-bottom: 10px;
    object-fit: contain;
}

.login-left, .login-right {
    padding: 40px;
    flex: 1;
}

.login-left {
    background: rgba(255, 255, 255, 0.069);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-left h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .login-left p {
        font-size: 1.1rem;
        line-height: 1.5;
        color: #ddd;
    }

.login-right {
    background: rgba(0, 0, 0, 0.508);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-right h2 {
        margin-bottom: 20px;
        font-size: 1.6rem;
        font-weight: bold;
        text-align: center;
    }

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

    input::placeholder {
        color: #ddd;
    }

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background-color: #00c853;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

    button:hover {
        background-color: #00b44a;
    }

.support-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
}

    .support-text a {
        color: #fff;
        text-decoration: underline;
    }


@media (max-width: 768px) {
    body, html {
        overflow: auto;
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
        align-items: flex-start; 
    }

    .login-wrapper {
        flex-direction: column;
        height: auto; 
        margin: 20px auto;
        max-height: none; 
    }

    .login-left, .login-right {
        width: 100%;
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .login-wrapper {
        flex-direction: column;
    }
}
