/* ===== TRADEx LOGIN BACKGROUND ===== */

.login-bg {
    position: relative;
    overflow: hidden;

    background:
        /* soft horizon glow */
            radial-gradient(
                    ellipse at 50% 75%,
                    rgba(255, 170, 0, 0.05) 0%,
                    transparent 55%
            ),

                /* subtle mid-band depth */
            linear-gradient(
                    to bottom,
                    rgba(255,255,255,0.02) 0%,
                    rgba(255,255,255,0.01) 30%,
                    rgba(0,0,0,0.08) 65%,
                    rgba(0,0,0,0.25) 100%
            ),

                /* base gradient */
            linear-gradient(
                    135deg,
                    #0f1f3d 0%,
                    #162c54 45%,
                    #1e3a8a 100%
            );
}

.login-bg {
    background-size: 200% 200%;
    animation: oceanMove 15s ease infinite;
}

@keyframes oceanMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle container grid texture (shipping feel) */
.login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(255,255,255,0.02) 0%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%
    );
    pointer-events: none;
}

.login-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;

    background: linear-gradient(
            to top,
            rgba(0,0,0,0.4),
            transparent
    );

    pointer-events: none;
}

.login-bg .card {
    position: relative;
}

.login-bg .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #dc2626;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.login-bg input.form-control {
    background: rgba(255,255,255,0.12);
    border: 1px solid #d1d5db;
    color: #5a6a85;
    height: 48px;
    border-radius: 8px;
}

.login-bg input.form-control:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.15);
}
.login-bg .btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: none;
    height: 48px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.login-bg .btn-primary:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
}