.jz-shell-footer {
    border-top: 1px solid var(--border, var(--mantine-color-gray-3, #dee2e6));
    background: var(--card, var(--mantine-color-body, #f8f9fa));
    font-size: 12px;
}

.enroll-layout .jz-shell-footer {
    margin-top: auto;
    padding: 10px 0;
    box-sizing: border-box;
}

.enroll-layout .jz-shell-footer-inner.container {
    padding-top: 0;
    padding-bottom: 0;
}

.enroll-layout .jz-shell-footer-inner {
    min-height: 0;
    gap: 0.5rem 1rem;
}

.enroll-layout .jz-shell-footer-left {
    gap: 0.12rem;
}

.enroll-layout .jz-shell-footer-owner-block {
    gap: 0.5rem;
}

.enroll-layout .jz-shell-footer-owner .jz-shell-footer-owner-logo,
.enroll-layout .jz-shell-footer-owner img {
    max-height: 52px;
}

.jz-shell-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    min-height: 60px;
}

.jz-shell-footer-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
}

.jz-shell-footer-right {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.jz-shell-footer-owner-block {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.55rem;
    max-width: 100%;
}

.jz-shell-footer-owner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.2rem;
    min-width: 0;
}

.jz-shell-footer-legal {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
    text-align: right;
}

.jz-shell-footer-legal a {
    color: var(--muted, var(--mantine-color-dimmed, #868e96));
    text-decoration: none;
}

.jz-shell-footer-legal a:hover {
    color: var(--text, var(--mantine-color-text, #212529));
    text-decoration: underline;
}

.jz-shell-footer-legal-sep {
    color: var(--muted, var(--mantine-color-dimmed, #868e96));
    user-select: none;
}

.jz-shell-footer-operator {
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
    color: var(--muted, var(--mantine-color-dimmed, #868e96));
}

.jz-shell-footer-copy {
    margin: 0;
    line-height: 1.25;
    font-size: 12px;
    white-space: nowrap;
    color: var(--muted, var(--mantine-color-dimmed, #868e96));
    text-align: right;
}

.jz-shell-footer-copy a {
    color: inherit;
    text-decoration: none;
}

.jz-shell-footer-copy a:hover {
    text-decoration: underline;
}

.jz-shell-footer-jz-link {
    display: inline-flex;
    line-height: 0;
    flex-shrink: 0;
    text-decoration: none;
}

.jz-shell-footer-jz-logo {
    display: block;
    max-height: 20px;
    width: auto;
}

.jz-shell-footer-owner {
    display: inline-flex;
    align-items: flex-end;
    line-height: 0;
    flex-shrink: 0;
    text-decoration: none;
}

.jz-shell-footer-owner .jz-shell-footer-owner-logo,
.jz-shell-footer-owner img {
    display: block;
    max-height: 58px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.jz-shell-footer-owner:hover {
    opacity: 0.88;
}

@media (max-width: 640px) {
    .jz-shell-footer-inner {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 0.5rem;
    }

    .jz-shell-footer-right {
        width: 100%;
        justify-content: flex-start;
    }

    .jz-shell-footer-owner-block {
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }

    .jz-shell-footer-owner-text {
        align-items: flex-start;
    }

    .jz-shell-footer-legal {
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
        text-align: left;
    }

    .jz-shell-footer-copy {
        white-space: normal;
        text-align: left;
    }
}
