.app-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.app-footer__main {
    padding: 20px 24px;
}

.app-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-footer__title {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.app-footer__link {
    display: block;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
}

.app-footer__link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.app-footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.app-footer__social-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #212529;
    text-decoration: none;
    background: rgba(13, 110, 253, 0.06);
}

.app-footer__social-btn:hover {
    background: rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.25);
    color: #0d6efd;
}

.app-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-footer__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-weight: 600;
    font-size: 12px;
}

.app-footer__small {
    color: #6c757d;
    font-size: 12px;
}

.app-footer__legal {
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.app-footer__legal-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.app-footer__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.app-footer__brand-logo {
    height: 22px;
    width: auto;
    display: block;
}

.app-footer__legal-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.app-footer__legal-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 12px;
}

.app-footer__legal-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

[data-bs-theme="dark"] .app-footer {
    background: #1a1d20;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .app-footer__title {
    color: rgba(255, 255, 255, 0.85);
}

[data-bs-theme="dark"] .app-footer__link {
    color: rgba(255, 255, 255, 0.72);
}

[data-bs-theme="dark"] .app-footer__link:hover {
    color: #6ea8fe;
}

[data-bs-theme="dark"] .app-footer__small {
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .app-footer__badge {
    background: rgba(25, 135, 84, 0.18);
    color: #69db7c;
}

[data-bs-theme="dark"] .app-footer__social-btn {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

[data-bs-theme="dark"] .app-footer__social-btn:hover {
    background: rgba(110, 168, 254, 0.16);
    border-color: rgba(110, 168, 254, 0.35);
    color: #6ea8fe;
}

[data-bs-theme="dark"] .app-footer__legal {
    background: #16191c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .app-footer__legal-link {
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .app-footer__legal-link:hover {
    color: #6ea8fe;
}

@media (max-width: 992px) {
    .app-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .app-footer__main {
        padding: 16px 16px;
    }

    .app-footer__legal-inner {
        padding: 10px 16px;
    }

    .app-footer__grid {
        grid-template-columns: 1fr;
    }
}
