/* Login Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #e8ecef;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

/* Lado izquierdo - Logo */
.login-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: #f8f9fa;
}

.logo-container {
    width: 100%;
    max-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 50%;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #3d4f5c;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.logo-circle span {
    color: white;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 2px;
}

/* Divisor vertical */
.login-divider {
    width: 1px;
    background: #e0e0e0;
    align-self: stretch;
    margin: 40px 0;
}

/* Lado derecho - Formulario */
.login-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #3d4f5c;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.login-form {
    width: 100%;
    max-width: 320px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #5a6c7d;
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 6px;
    color: #7a8a9a;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #a0aec0;
}

.form-group input:focus {
    outline: none;
    border-color: #5a6c7d;
    box-shadow: 0 0 0 3px rgba(93, 108, 125, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: #4a5d6d;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: #3d4f5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 93, 109, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.language-selector {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.language-selector i {
    color: #7a8a9a;
    font-size: 16px;
}

.language-selector select {
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-selector select:focus {
    outline: none;
    border-color: #5a6c7d;
}

.login-copyright {
    margin-top: 24px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.login-copyright p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .login-left {
        padding: 40px 30px;
    }

    .login-divider {
        display: none;
    }

    .login-right {
        padding: 40px 30px;
    }

    .logo-circle {
        width: 150px;
        height: 150px;
    }

    .logo-circle::before {
        width: 135px;
        height: 135px;
    }

    .logo-circle span {
        font-size: 24px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .login-left {
        padding: 30px 20px;
    }

    .login-right {
        padding: 30px 20px;
    }

    .login-form {
        max-width: 100%;
    }
}
