/* --- Estilos Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    overflow: hidden;
    background-color: #f4f7f6;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Bloque Izquierdo (40%) */
.left-block {
    flex: 0 0 40%;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.left-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Bloque Derecho (60% - Login) --- */
.right-block {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.header-text { margin-bottom: 40px; }
.header-text h1 { font-size: 3rem; color: #1a73e8; margin-bottom: 10px; font-weight: 800; }
.header-text p { font-size: 1.1rem; color: #5f6368; }

/* --- Estilo de Inputs (Agrupados para evitar pérdida de formato) --- */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3c4043;
    font-weight: 600;
}

/* Aplicamos el mismo estilo a text, email y password */
input[type="email"],
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #dadce0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #1a73e8;
}

.btn-continue {
    width: 100%;
    padding: 15px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-continue:hover {
    background-color: #1557b0;
}

/* --- Estilo del Crédito --- */
.developer-credit {
    margin-top: 60px;
    font-size: 1rem;
    color: #3c4043;
    padding: 12px 25px;
    background-color: #fff0f0;
    border-radius: 30px;
    border: 2px solid #ffcfcf;
}

.developer-credit span {
    color: #d32f2f;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- MEDIA QUERIES PARA RESPONSIVE --- */
@media (max-width: 850px) {
    .container {
        flex-direction: column; /* Imagen arriba, botones abajo */
    }

    .left-block {
        flex: 0 0 35vh; /* La imagen ocupa el 35% de la altura de la pantalla */
        width: 100%;
    }

    .right-block {
        flex: 1 0 auto;
        padding: 30px 20px 50px 20px;
    }

    .header-text {
        margin-bottom: 25px;
    }
}
