:root {
    --primary: #ff1a1a;
    --dark: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.82)),
        url('/images/login/Login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Glow Effects */

body::before {
    content: '';
    position: fixed;
    width: 450px;
    height: 450px;
    left: -150px;
    top: -150px;
    background: rgba(255,26,26,.12);
    filter: blur(180px);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    right: -150px;
    bottom: -150px;
    background: rgba(255,26,26,.15);
    filter: blur(220px);
    pointer-events: none;
}

.main-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 40px 80px;
    position: relative;
    z-index: 2;
}

.login-card {
    width: 100%;
    max-width: 500px;

    background: rgba(0,0,0,.35);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,26,26,.30);
    border-radius: 28px;

    padding: 40px;

    box-shadow:
        0 0 35px rgba(255,26,26,.15),
        inset 0 0 20px rgba(255,255,255,.02);
}

.logo {
    max-width: 170px;
    width: 100%;
    margin-bottom: 12px;
}

.heading {
    font-size: 39px;
    line-height: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.heading span {
    color: var(--primary);
}

.subtitle {
    color: #b8b8b8;
    font-size: 15px;
    margin-bottom: 30px;
}

.input-box {
    position: relative;
    margin-bottom: 12px;
}

.input-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8c8c;
    z-index: 1;
}

.input-box .form-control {
    height: 50px;
    padding-left: 50px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
}

.input-box .form-control:focus {
    background: rgba(255,255,255,.06);
    border-color: #ff1a1a;
    color: #fff;
    box-shadow: 0 0 15px rgba(255,26,26,.25);
}

.input-box .form-control::placeholder {
    color: #8c8c8c;
}

.form-check-label,
.forgot {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
}

.forgot:hover {
    color: var(--primary);
}

.btn-login {
    width: 100%;
    height: 52px;

    border: none;
    border-radius: 10px;

    margin-top: 20px;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;

    color: #fff;

    background: linear-gradient(90deg,#ff1a1a,#b00000);

    transition: .3s;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,26,26,.35);
}

.secure {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 15px;
}

.secure i {
    color: var(--primary);
    margin-right: 6px;
}

.footer-note {
    text-align: center;
    color: #9c9c9c;
    font-size: 12px;
    margin-top: 10px;
}

.alert-danger {
    background: rgba(220,38,38,.15);
    border: 1px solid rgba(220,38,38,.4);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

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

/* Feature Bar */

.feature-bar {
    width: 100%;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,26,26,.20);
}

.feature {
    text-align: center;
    padding: 15px 10px;
    height: 100%;
    transition: .3s;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature i {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.feature h6 {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.feature p {
    color: #9c9c9c;
    font-size: 12px;
    margin: 0;
}

/* Tablet */

@media (max-width: 991px) {

    .main-wrapper {
        justify-content: center;
        padding: 40px 20px;
    }

    .login-card {
        max-width: 600px;
    }

    .feature-bar .row > div {
        width: 33.333%;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .main-wrapper {
        padding: 25px 15px;
    }

    .login-card {
        padding: 25px;
        border-radius: 20px;
    }

    .heading {
        font-size: 30px;
        line-height: 34px;
    }

    .subtitle {
        font-size: 14px;
    }

    .feature-bar .row > div {
        width: 50%;
    }

    .feature {
        padding: 12px 8px;
    }

    .feature h6 {
        font-size: 13px;
    }

    .feature p {
        font-size: 11px;
    }
}

/* Small Mobile */

@media (max-width: 480px) {

    .login-card {
        padding: 20px;
    }

    .heading {
        font-size: 26px;
        line-height: 30px;
    }

    .logo {
        max-width: 130px;
    }

    .form-check-label,
    .forgot {
        font-size: 12px;
    }

    .feature-bar .row > div {
        width: 100%;
    }
}