﻿* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: url('/images/home.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.contenedor {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    display: flex;
    max-width: 768px;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
}

.contenedor-form {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    width: 250px;
    margin-bottom: 20px;
}

.contenedor-form h2 {
    margin-bottom: 20px;
    color: #0ba57d;
}

.input-forgot {
    background: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 5px;
}

.button-enviar {
    border-radius: 20px;
    border: none;
    background-color: #0ba57d;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    margin-top: 20px;
    cursor: pointer;
}

.button-enviar:hover {
    background-color: #0c8163;
}

.button-login {
    border-radius: 20px;
    border: none;
    background-color: #0b66a5;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    margin-top: 20px;
    cursor: pointer;
}

.button-login:hover {
    background-color: #0e75bd;
}

.icono-input {
    position: relative;
}

.icono-input i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

.icono-input input {
    padding-left: 2rem;
}

.mensaje-error {
    color: red;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        margin: 5px;
    }

    .contenedor-form {
        width: 100%;
    }
}
