.modern-footer {
    background: linear-gradient(145deg, #20282f 0%, #151b20 100%) !important;
    border-top: 4px solid #81c408;
}

.footer-top {
    border-bottom: 1px solid rgba(129, 196, 8, .28);
}

.footer-description {
    max-width: 360px;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section {
    height: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
}

.footer-brand h1 {
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(129, 196, 8, .3);
    transition: transform .3s ease;
}

.footer-brand h1:hover {
    transform: scale(1.05);
}

.btn-social {
    display: flex;
    width: 45px;
    height: 45px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    transition: all .3s ease;
}

.btn-social:hover {
    background: #81c408;
    border-color: #81c408;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(129, 196, 8, .4);
}

.btn-social i {
    font-size: 1.1rem;
}

.company-logo-link {
    display: inline-flex;
    padding: 2px 3px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    text-decoration: none;
    transition: all .2s ease;
}

.company-logo-link:hover {
    background: #f8f9fa;
    border-color: #81c408;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(129, 196, 8, .2);
}

.company-logo-link-white,
.company-logo-link-white:hover {
    background: transparent;
}

.company-logo-link-white {
    border-color: transparent;
}

.company-logo-link-white:hover {
    border-color: #81c408;
    box-shadow: 0 2px 6px rgba(129, 196, 8, .2);
}

.company-logo {
    width: auto;
    height: 23px;
    object-fit: contain;
    filter: brightness(1);
    transition: filter .2s ease;
}

.company-logo-link:hover .company-logo {
    filter: brightness(.95);
}

.footer-section h5 {
    position: relative;
    padding-bottom: .5rem;
}

.footer-title-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #81c408 0%, transparent 100%);
}

.footer-link {
    padding: .4rem 0;
    color: #adb5bd;
    text-decoration: none;
    transition: all .3s ease;
}

.footer-link:hover {
    padding-left: .5rem;
    color: #fff;
}

.footer-link i {
    font-size: .9rem;
    transition: transform .3s ease;
}

.footer-link:hover i {
    transform: translateX(3px);
}

.footer-link span {
    font-size: .95rem;
}

.footer-link-contact {
    display: inline-block;
    color: #f8f9fa !important;
    background: transparent !important;
    text-decoration: none;
    transition: all .3s ease;
}

.footer-link-contact:hover,
.footer-link-contact:focus,
.footer-link-contact:active {
    color: #81c408 !important;
    background: transparent !important;
}

.footer-link-contact:hover {
    text-decoration: underline;
}

.footer-link-contact:focus,
.footer-link-contact:active {
    outline: none;
}

.contact-item {
    background: transparent !important;
    transition: transform .2s ease;
}

.contact-item:hover {
    transform: translateX(3px);
}

.contact-item i {
    flex-shrink: 0;
}

.info-box {
    background: rgba(129, 196, 8, .1);
    border-left: 3px solid #81c408;
    transition: all .3s ease;
}

.info-box:hover {
    background: rgba(129, 196, 8, .15) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 196, 8, .2);
}

.copyright {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .5));
    border-top: 1px solid rgba(129, 196, 8, .2) !important;
}

.copyright .text-light {
    font-weight: 500 !important;
}

.copyright a.border-bottom {
    padding-bottom: 1px;
    color: #81c408 !important;
    border-bottom: 1px solid transparent !important;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.copyright a.border-bottom:hover {
    color: #6da307 !important;
    border-bottom-color: #81c408 !important;
    transform: translateY(-1px);
}

.copyright .fa-copyright {
    color: #81c408 !important;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .footer-brand h1 {
        font-size: 1.75rem;
    }

    .btn-social {
        width: 40px;
        height: 40px;
    }

    .footer-section h5 {
        font-size: 1.1rem;
    }

    .footer-link span {
        font-size: .9rem;
    }
}

@media (max-width: 576px) {
    .modern-footer {
        padding-top: 2rem !important;
    }

    .footer-section {
        padding: 1rem;
    }

    .footer-brand h1 {
        font-size: 1.5rem;
    }

    .contact-item i {
        font-size: 1rem !important;
    }

    .copyright {
        font-size: .85rem !important;
    }

    .copyright .row>div {
        padding: .5rem 0 !important;
    }
}

.app-toast-container {
    position: fixed;
    z-index: 1100;
    left: max(1.25rem, env(safe-area-inset-left));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    width: min(520px, calc(100vw - 2rem));
    pointer-events: none;
}

.app-toast-container .toast {
    width: 100%;
    max-width: none;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
    pointer-events: auto;
}

.app-toast-container .toast-body {
    min-height: 58px;
    padding: .85rem 1rem;
    gap: .25rem;
}

.app-toast-container .toast-message {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

#undoToastButton:not(.d-none) {
    display: inline-flex !important;
    align-items: center;
    gap: .5rem;
}

.undo-countdown {
    --progress: 100%;
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    color: #fff;
    background: radial-gradient(circle at center, #6da307 58%, transparent 60%), conic-gradient(#fff var(--progress), rgba(255, 255, 255, .28) 0);
    border-radius: 50%;
    font-size: .75rem;
}

@media (max-width: 767.98px) {
    .app-toast-container {
        left: max(.5rem, env(safe-area-inset-left));
        bottom: max(.5rem, env(safe-area-inset-bottom));
        width: calc(100vw - 1rem);
    }

    .app-toast-container .toast-body {
        min-height: 54px;
        padding: .7rem .75rem;
    }

    .app-toast-container .toast-body>i {
        margin-right: .5rem !important;
    }

    #undoToastButton {
        font-size: .875rem;
    }

    .undo-countdown {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

@keyframes order-loading-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

#loading-pedido .fa-bounce {
    animation: order-loading-bounce 1.2s infinite;
}