* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('/images/login/Login.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    font-family: 'Arial', sans-serif;
}

.left-panel {
    width: 430px;
    margin-left: 80px;
    z-index: 2;
}

.login-box {
    padding: 38px 35px;
    border-radius: 18px;
    position: relative;
    color: #fff;
    background: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* thin border glow */
.login-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 0, 0, 0.25));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* red corner glow */
.login-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(255, 0, 0, 0.18), transparent 45%);
    pointer-events: none;
}

.brand-logo {
    height: 40px;
    margin-bottom: 22px;
}

.login-box h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.login-box h2 span {
    color: #ff1a1a;
}

.subtitle {
    color: #b5b5b5;
    margin-bottom: 26px;
    font-size: 13px;
    line-height: 1.6;
}

label {
    font-size: 16px;
    color: #ff3b3b;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}

input,
select {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    background: rgba(15, 15, 15, 0.85);
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

input::placeholder {
    color: #777;
}

input:focus,
select:focus {
    outline: none;
    border-color: #ff1a1a;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

.btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff1a1a, #990000);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.6);
}

.btn-p {
    text-align: center;
    margin-top: 18px;
    margin-bottom: 0;
    color: #9a9a9a;
    font-size: 11.5px;
    line-height: 1.6;
}

.managed-by {
    text-align: center;
    margin-top: 4px;
    color: #9a9a9a;
    font-size: 11.5px;
}

.managed-by a {
    color: #ff3b3b;
    text-decoration: none;
}

.managed-by a:hover {
    text-decoration: underline;
}

.alert-danger {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ff6666;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
}

.alert-danger ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 768px) {
    body {
        justify-content: center;
    }

    .left-panel {
        margin-left: 0;
        width: 90%;
    }
}