/* Estilos personalizados para el login - Reemplazo de Tailwind CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(to right, #3b82f6, #6366f1, #9333ea);
}

/* Contenedor principal */
.login-container {
    width: 100%;
    max-width: 1152px;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    max-height: 900px;
    min-height: 700px;
}

@media (min-width: 768px) {
    .login-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Sección del formulario */
.login-form-section {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .login-form-section {
        padding: 3rem;
    }
}

.login-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: #4338ca;
    margin-bottom: 1.5rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.login-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Formulario */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #4338ca;
    pointer-events: none;
}

.login-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.password-group {
    position: relative;
}

.password-input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #4338ca;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: #3730a3;
}

.login-button {
    width: 100%;
    background-color: #4338ca;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #3730a3;
}

.login-button:active {
    transform: scale(0.98);
}

/* Sección informativa */
.info-section {
    background-color: #4338ca;
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .info-section {
        display: flex;
    }
}

.info-logo {
    width: 75%;
    margin-bottom: 2rem;
}

.info-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-plus-sign {
    font-size: 0.75em;
}

.info-subtitle {
    font-size: 1.25rem;
}

/* Hidden input */
.hidden-input {
    display: none;
}
