* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #66eaac 0%, #4f8dc7 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 90%;
    max-width: 1000px;
    padding: 20px;
}

.login-frame {
    display: flex;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 500px;
}

/* Sección de imagen (2/3 del frame) */
.image-section {
    flex: 2;
    position: relative;
    overflow: hidden;
}

.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.login-image:hover {
    transform: scale(1.05);
}

/* Sección del formulario (1/3 del frame) */
.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: #ffffff;
}

.form-container {
    width: 100%;
    max-width: 300px;
}

/* Logo de la empresa - MÁS GRANDE */
.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.company-logo {
    max-width: 200px; /* Aumentado de 80px a 200px */
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.35);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.form-links {
    text-align: center;
    margin-bottom: 25px;
}

.link {
    display: block;
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Sección del desarrollador - LOGO MÁS GRANDE */
.developer-section {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.developer-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px; /* Aumentado para mejor espaciado */
    font-weight: 500;
}

.developer-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.developer-logo {
    max-width: 90px; /* Aumentado de 60px a 90px */
    height: auto;
    transition: all 0.3s ease;
}

.developer-link:hover .developer-logo {
    transform: scale(1.15); /* Efecto hover ligeramente más pronunciado */
    filter: brightness(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-frame {
        flex-direction: column;
    }
    
    .image-section {
        flex: 1;
        height: 200px;
    }
    
    .form-section {
        flex: 1;
        padding: 30px 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .company-logo {
        max-width: 100px; /* Ajuste para tablet */
    }
    
    .developer-logo {
        max-width: 80px; /* Ajuste para tablet */
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
        padding: 10px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .form-container h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .company-logo {
        max-width: 90px; /* Ajuste para móvil */
    }
    
    .developer-logo {
        max-width: 70px; /* Ajuste para móvil */
    }
}

/* Para pantallas muy grandes */
@media (min-width: 1200px) {
    .company-logo {
        max-width: 140px; /* Aún más grande en pantallas grandes */
    }
    
    .developer-logo {
        max-width: 100px; /* Aún más grande en pantallas grandes */
    }
}