/* EthosPay Custom Login Styles */

:root {
    /* EthosPay Color Palette */
    --ethos-marino: #191C58;
    --ethos-amarillo: #F4BD34;
    --ethos-rojo: #F55850;
    --ethos-anaranjado: #ED6336;
    --ethos-celeste: #47A6F4;
    --ethos-verde: #61CD80;
    --ethos-plata: #B3B3B3;
    
    /* Logo Colors */
    --ethos-logo-green: #66CC99;
    --ethos-text-dark: #2C2C3E;
    --ethos-text-light: #A0A0A0;
}

body.login {
    background: linear-gradient(135deg, var(--ethos-marino) 0%, #2a2f6b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ethos-login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.ethos-login-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ethos-logo-section {
    background: linear-gradient(135deg, var(--ethos-marino) 0%, #2a2f6b 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.ethos-logo-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    box-sizing: border-box;
}

.ethos-logo-circle img {
    border-radius: 50%;
}

.ethos-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

.ethos-login-form {
    padding: 40px 30px;
}

.ethos-form-group {
    margin-bottom: 25px;
}

.ethos-label {
    display: block;
    color: var(--ethos-text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.ethos-label i {
    margin-right: 8px;
    color: var(--ethos-marino);
}

.ethos-form-group input[type="text"],
.ethos-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ethos-form-group input[type="text"]:focus,
.ethos-form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--ethos-marino);
    box-shadow: 0 0 0 3px rgba(25, 28, 88, 0.1);
}

.ethos-password-reset-link {
    text-align: center;
    margin: 20px 0;
}

.ethos-password-reset-link a {
    color: var(--ethos-marino);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.ethos-password-reset-link a:hover {
    color: var(--ethos-celeste);
    text-decoration: underline;
}

.ethos-submit-row {
    margin-top: 30px;
}

.ethos-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ethos-btn-primary {
    background: linear-gradient(135deg, var(--ethos-marino) 0%, #2a2f6b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 28, 88, 0.3);
}

.ethos-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 28, 88, 0.4);
}

.ethos-btn-primary:active {
    transform: translateY(0);
}

.ethos-alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.ethos-alert-error {
    background-color: #ffebee;
    color: var(--ethos-rojo);
    border-left: 4px solid var(--ethos-rojo);
}

.ethos-alert-info {
    background-color: #e3f2fd;
    color: var(--ethos-celeste);
    border-left: 4px solid var(--ethos-celeste);
}

.ethos-alert-success {
    background-color: rgba(97, 205, 128, 0.15);
    color: var(--ethos-verde);
    border-left: 4px solid var(--ethos-verde);
}

.ethos-alert p {
    margin: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .ethos-login-box {
        border-radius: 15px;
    }
    
    .ethos-logo-section {
        padding: 30px 20px;
    }
    
    .ethos-login-form {
        padding: 30px 20px;
    }
    
    .ethos-logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .ethos-brand-text {
        font-size: 1.5rem;
    }
}

