/* ===== JOULES LOGIN — Rojo & Gris Corporativo ===== */

* { box-sizing: border-box; }

.background-account {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c, #1f2329);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.background-account::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(192,57,43,.12) 0%, transparent 60%);
    animation: pulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%       { transform: scale(1.08); opacity: 0.8; }
}

/* Login box */
.login-box {
    width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.login-box-body {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
    color: #fff;
}

/* Logo */
.login-logo { text-align: center; margin-bottom: 30px; }
.login-logo a {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid rgba(192,57,43,.6);
    border-radius: 50px;
    background: rgba(192,57,43,.15);
    transition: all .3s ease;
}
.login-logo a:hover {
    background: rgba(192,57,43,.3);
    box-shadow: 0 0 20px rgba(192,57,43,.4);
}

/* Welcome message */
.login-box-msg {
    color: rgba(255,255,255,.6);
    text-align: center;
    margin-bottom: 28px;
    font-size: 14px;
}

/* Inputs */
.login-box-body .form-group { position: relative; margin-bottom: 20px; }
.login-box-body .form-control {
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 50px;
    color: #fff;
    padding: 12px 45px 12px 20px;
    font-size: 14px;
    height: auto;
    transition: all .3s ease;
    box-shadow: none;
}
.login-box-body .form-control::placeholder { color: rgba(255,255,255,.35); }
.login-box-body .form-control:focus {
    background: rgba(255,255,255,.1);
    border-color: rgba(192,57,43,.7);
    box-shadow: 0 0 0 3px rgba(192,57,43,.2);
    color: #fff;
    outline: none;
}

/* Icons */
.login-box-body .form-control-feedback { color: rgba(255,255,255,.35); line-height: 48px; right: 16px; }

/* Error */
.login-box-body .has-error .form-control { border-color: rgba(231,76,60,.7); }
.login-box-body .help-block { color: rgba(255,150,140,.9); font-size: 12px; margin-top: 6px; }

/* Remember me */
.login-box-body .row { display: flex; align-items: center; margin-top: 10px; }
.login-box-body .checkbox label { color: rgba(255,255,255,.55); font-size: 13px; cursor: pointer; }

/* Submit button */
.login-box-body .btn-primary {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(192,57,43,.4);
    color: #fff;
}
.login-box-body .btn-primary:hover {
    background: linear-gradient(135deg, #a93226, #c0392b);
    box-shadow: 0 6px 25px rgba(192,57,43,.55);
    transform: translateY(-1px);
}

/* Links */
.login-box-body a {
    color: rgba(231,76,60,.85);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
    display: inline-block;
    margin-top: 16px;
}
.login-box-body a:hover { color: #e74c3c; text-decoration: underline; }

/* Alerts */
.login-box-body .alert { border-radius: 10px; border: none; font-size: 13px; margin-bottom: 20px; }
.login-box-body .alert-danger {
    background: rgba(192,57,43,.2);
    color: #f5b7b1;
    border: 1px solid rgba(192,57,43,.3);
}
.login-box-body .alert-success {
    background: rgba(39,174,96,.2);
    color: #a9dfbf;
    border: 1px solid rgba(39,174,96,.3);
}
