* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.contenedor-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
}
.login-left {
    width: 50%;
    height: 100vh;
}
.login-right {
    width: 50%;
    height: 100vh;
    background-color: #FEF8F4;
}
.art {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.cajas {
    width: 50%;
    height: auto;
}
.logo {
    width: 50%;
    height: auto;
}
.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
}
.login-form {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 50%;
}
.form-group {
    width: 50%;
    margin: 10px 0;
    position: relative;
}
.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d9dee7;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}
.login-form input:focus {
    outline: none;
    border-color: #F47B20;
    box-shadow: 0 0 0 2px rgba(244, 123, 32, 0.2);
}
.login-form input.error {
    border-color: #ff4444;
}
.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    text-align: left;
    width: 100%;
}
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    width: 50%;
}
.alert-error {
    background-color: #ffebee;
    border-left: 4px solid #ff4444;
    color: #ff4444;
}
.alert p {
    margin: 0;
    font-size: 14px;
}
.hidden {
    display: none !important;
}
.btn-primary {
    background-color: #F47B20;
    color: #fff;
    font-size: 16px;
    margin: 10px 0;
    width: 50%;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:disabled {
    background-color: #f7b27d;
    cursor: not-allowed;
}
.btn-primary:active:not(:disabled) {
    transform: translateY(1px);
}
.btn-text, .btn-loading {
    display: inline-block;
    transition: opacity 0.3s ease;
}
@media (max-width: 1100px) {
    .contenedor-principal {
        align-items: center;
        height: auto;            
    }
    .brand {
        margin-bottom: 30%;
    }
    .login-left {
        width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .login-right {
        display: none !important;
    }
    .form-group,
    .alert,
    .btn-primary {
        width: 80%;
        max-width: 440px;
    }
}