* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    background: #f5f5f5;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Panel izquierdo - Formulario */
.login-form {
    /* width: 33.33%; */
    width: 25%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 10;
    border-right: 1px solid #cfcfcf;
}

.form-content {
    width: 100%;
    max-width: 320px;
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-input::placeholder {
    color: #999;
}

.login-button {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 8px;
}

.login-button:hover {
    background: #2563eb;
}

.copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 12px;
    color: white;
    line-height: 1.4;
}

/* Panel derecho - Imagen de fondo */


.login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.3); */
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-form {
        width: 100%;
        height: 60%;
    }
    
    .login-image {
        width: 100%;
        height: 40%;
    }
}
.error{
    color:red;
    font-size:small;
}