.input-xs {
    height: 22px;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1.5; //If Placeholder of the input is moved up, rem/modify this.
    border-radius: 3px;
}

.navbar {
    height: 40px;
}

@media (min-width: 991px) {
    .navbar-default {
        background-color: #0084ff;
    }

    .navbar-collapse {
        background-color: #0084ff;
    }

    .navbar-right {
        height: 49px;
    }

    .navbar-default .navbar-nav > li > a {
        color: #fff;
    }
    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus {
        background-color: #0084ff;
        color: #fff;
        font-weight:bold;
    }
    .navbar-default .navbar-toggle {
        border-color: #fff;
    }
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: #0084ff;
    }
    .navbar-fixed-top {
        border-width: 0 0 0px;
    }
}

.navbar-default .navbar-toggle .icon-bar {
    color: #fff;
    background-color: #CCC;
}
@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #000;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
    }
}

/* ---- Login page ---- */
.login-page {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 10px;
}

.login-card {
    width: 360px;
    flex-shrink: 0;
}

.login-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 18px;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form .parking-alert,
.login-form .parking-notice {
    text-align: center;
    margin: 0 0 0;
}

.login-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-field {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 14px;
    height: 46px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-field:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: #fff;
}

.login-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
}

.login-field:focus-within .login-field-icon svg {
    stroke: #3b82f6;
}

.login-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 100% !important;
    font-size: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
    color: #1e293b;
}

.login-input::placeholder {
    color: #94a3b8;
}

.login-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    margin-top: 16px;
    background: linear-gradient(135deg, #0084ff, #006acc);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.login-btn-submit:hover {
    box-shadow: 0 4px 14px rgba(0, 132, 255, 0.35);
}

.login-btn-submit:active {
    transform: scale(0.97);
}

.login-btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    margin-top: 8px;
    background: #fff;
    color: #0084ff;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid #0084ff;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.login-btn-register:hover {
    background: #f0f7ff;
    text-decoration: none;
    color: #0084ff;
}

.login-btn-register:active {
    transform: scale(0.97);
    background: #e0efff;
}

.nav-tabs > li > a:focus,
.nav-tabs > li.active > a:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #64748b;
    font-size: 13px;
    user-select: none;
}

.login-checkbox {
    margin: 0 !important;
    width: 16px;
    height: 16px;
    accent-color: #0084ff;
}

.login-forgot {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s;
}

.login-forgot:hover {
    color: #0084ff;
}

.login-forgot:active {
    color: #0084ff;
}

.login-sidebar {
    flex: 1;
    min-width: 0;
    margin-top: 10px;
}

/* Mobile overrides */
@media (max-width: 767px) {
    .login-page {
        flex-direction: column;
        padding: 20px 20px 0;
    }

    .login-card {
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .login-field {
        height: 50px;
        border-radius: 12px;
    }

    .login-input {
        font-size: 16px !important;
    }

    .login-btn-submit {
        height: 50px;
        font-size: 17px;
        border-radius: 12px;
        margin-top: 20px;
    }

    .login-btn-register {
        height: 50px;
        font-size: 17px;
        border-radius: 12px;
    }

    .login-sidebar {
        display: none;
    }

    .login-forgot:hover {
        color: #94a3b8;
    }

    .login-forgot:active {
        color: #0084ff;
    }
}

.mbl-bs-brand {
    position: absolute;
    top: 5px;
    left: 70px;
}

.mbl-bs-user {
    position: absolute;
    top: 27px;
    left: 70px;
    color: darkblue;
}

@media (max-width: 991px) {
    .navbar-nav > li {
        background-color: #F5F5F5;
    }
    .navbar-header {
        float: none;
        overflow: visible;
    }
    .navbar-toggle {
        display: block;
        margin-right:18px;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-collapse.in {
        max-height: none;   /* remove the restriction */
        overflow-y: visible; /* let it expand naturally */
    }
    .navbar-nav {
        float: none!important;
        margin: 0px 0px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}
