/* Shared application footer */
html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
}

.dashboard-content-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.dashboard-content-wrapper > .container-fluid {
    flex: 1 0 auto;
}

.app-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: 38px;
    border-top: 1px solid #6a5194;
    background: linear-gradient(135deg, #4c3575 0%, #3f2b63 100%);
    box-shadow: 0 -5px 18px rgba(57, 35, 95, .16);
    color: #e8e1f2;
}

.app-footer__inner {
    width: 100%;
    max-width: 1440px;
    min-height: 78px;
    margin: 0 auto;
    padding: 18px 12px;
    row-gap: 8px;
}

.app-footer__item {
    display: flex;
    align-items: center;
    color: #ddd3eb;
    font-size: .78rem;
    line-height: 1.5;
    white-space: nowrap;
}

.app-footer__item + .app-footer__item::before {
    content: "|";
    margin: 0 12px;
    color: rgba(255, 255, 255, .35);
    font-size: .9em;
    font-weight: 400;
    line-height: 1;
}

.app-footer__brand strong {
    color: #ffffff;
    font-size: .9rem;
    font-weight: 800;
}

.app-footer__tagline {
    font-style: italic;
}

.app-footer__version strong {
    color: #ffffff;
    font-weight: 800;
}

.app-footer__heart {
    color: #dc3545;
    font-size: .92rem;
}

.auth-page-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.auth-page-content {
    display: flex;
    min-width: 0;
    flex: 1 0 auto;
}

.auth-page-content > .login-page {
    min-height: auto;
    flex: 1 0 auto;
}

.auth-page-shell .app-footer {
    margin-top: 0;
}

.auth-page-shell .app-footer__inner {
    padding-right: 24px;
    padding-left: 24px;
}

@media (max-width: 767.98px) {
    .app-footer__inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .app-footer__item + .app-footer__item::before {
        margin-right: 8px;
        margin-left: 8px;
    }
}
