html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Shared header/footer */
body {
    margin-bottom: 0;
    background-color: #f7f5fb;
}

.common-header {
    border-bottom: 1px solid #ece6f7;
    background: #fff;
}

.common-header .header-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.common-header .nav-link {
    font-weight: 500;
    color: #333 !important;
    font-size: 1.02rem;
}

.common-header .active-link {
    border-bottom: 2px solid #333;
    padding-bottom: 2px;
}

.common-header .header-right-controls i {
    vertical-align: middle;
}

.common-header .cursor-pointer {
    cursor: pointer;
}

.common-header .fw-500 {
    font-weight: 500;
}

.common-footer {
    margin-top: 28px;
    border-top: 1px solid #4a266b;
    background: #532773;
    color: #f8f2ff;
    font-size: 13px;
    padding: 14px 0;
}


.common-footer a {
    color: #ffd56a;
    font-weight: 700;
    text-decoration: underline;
}


.common-footer a:hover {
    color: #ffe38f;
    text-decoration: underline;
}


@media (max-width: 991px) {
    .common-header .navbar-nav {
        text-align: center;
        padding: 14px 0;
    }

    .common-header .header-right-controls {
        justify-content: center;
        padding-bottom: 8px;
    }

    .common-header .navbar-nav .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .common-header .active-link {
        border-bottom: none;
        background-color: #f8f9fa;
        border-radius: 5px;
    }
}

