/* .highlight-text {
    color: #c5764f;
    font-size: 18px;
    font-weight: 400;
} */

.footer-bottom-bar .copyright {
    text-align: left;
}

.footer-language-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-language-dropdown select {
    min-width: 160px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
}

.footer-bottom-bar .social-icons {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

html[dir="ltr"] .footer-widget-title,
html[dir="ltr"] .footer-menu,
html[dir="ltr"] .footer-menu ul,
html[dir="ltr"] .footer-widget-subtitle,
html[dir="ltr"] .footer-logo {
    text-align: left;
}

html[dir="rtl"] .footer-widget-title,
html[dir="rtl"] .footer-menu,
html[dir="rtl"] .footer-menu ul,
html[dir="rtl"] .footer-widget-subtitle {
    text-align: right;
}

html[dir="rtl"] .footer-menu {
    display: block;
    width: 100%;
}

html[dir="rtl"] .footer-logo img {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .footer-menu ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

html[dir="rtl"] .footer-menu ul li .bi {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .footer-bottom-bar .copyright {
    text-align: right;
}

html[dir="rtl"] .footer-bottom-bar .social-icons {
    justify-content: flex-start;
}

html[dir="rtl"] .footer-language-dropdown select {
    text-align: right;
    direction: rtl;
}

/* Law firm login CTA */
.footer-menu .footer-lawfirm-login-btn,
a.footer-lawfirm-login-btn,
button.footer-lawfirm-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 148px !important;
    min-height: 44px !important;
    padding: 10px 28px !important;
    margin-top: 8px !important;
    border: 1px solid #FF3B30 !important;
    border-radius: 999px !important;
    background: #FF3B30 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 2 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: 0 6px 16px rgba(255, 59, 48, 0.25) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}

.footer-menu .footer-lawfirm-login-btn:hover,
.footer-menu .footer-lawfirm-login-btn:focus,
a.footer-lawfirm-login-btn:hover,
a.footer-lawfirm-login-btn:focus,
button.footer-lawfirm-login-btn:hover,
button.footer-lawfirm-login-btn:focus {
    transform: translateY(-1px);
}

/* Lawyer login modal */
.footer-lawyer-login-modal .modal-dialog {
    max-width: 420px;
}

.footer-lawyer-login-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    background: #fff;
}

.footer-lawyer-login-modal .modal-body {
    padding: 2rem 1.75rem 1.75rem;
}

.footer-lawyer-login-modal__title {
    margin: 0 0 1.25rem;
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}

.footer-lawyer-login-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-lawyer-login-modal__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 10px 20px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-lawyer-login-modal__btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-lawyer-login-modal__btn:hover,
.footer-lawyer-login-modal__btn:focus {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #111 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.footer-lawyer-login-modal__close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b7280;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.footer-lawyer-login-modal__close:hover,
.footer-lawyer-login-modal__close:focus {
    color: #111;
    background: #f3f4f6;
}

@media (max-width: 991px) {
    .footer-bottom-bar .copyright,
    .footer-bottom-bar .footer-language-dropdown {
        justify-content: center;
        text-align: center;
        margin-bottom: 12px;
    }

    .footer-bottom-bar .social-icons {
        justify-content: flex-end;
        text-align: right;
        margin-bottom: 12px;
    }

    html[dir="rtl"] .footer-bottom-bar .copyright {
        text-align: center;
    }

    html[dir="rtl"] .footer-bottom-bar .social-icons {
        justify-content: flex-start;
        text-align: right;
    }

    .footer-bottom-bar .social-icons ul {
        text-align: right !important;
    }
}
