/* ================================================================
   Lawyer Contact Popup — inc/lawyer-popup.css
   ================================================================ */

/* ── Overlay ──────────────────────────────────────────────────── */
#lawyerContactModal .modal-backdrop,
#lawyerContactModal.modal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); padding-top: 120px;
}

#lawyerContactModal {
    background: rgba(9, 34, 45, 0.69);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ── Dialog sizing ────────────────────────────────────────────── */
.lawyer-modal-dialog {
    max-width: 534px;
    width: 100%;
    margin: auto;
}

/* ── Modal box ────────────────────────────────────────────────── */
.lawyer-modal-content {
    background-color: #C1AA6A;
    border: none;
    border-radius: 0;
    padding: 40px 36px 36px;
    text-align: center;
    position: relative;
    direction: rtl;
}

/* ── Close button ─────────────────────────────────────────────── */
.lawyer-modal-close {
    position: absolute;
    top: -35px;
    left: 0;
    background: transparent!important;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    z-index: 10;
}

.lawyer-modal-close:focus {
    outline: none;
}

/* ── Lawyer image ─────────────────────────────────────────────── */
.lawyer-modal-image-wrap {
    width: 153px;
    height: 153px;
    border-radius: 50%;
    overflow: hidden;
    margin: -120px auto 20px;
    background: #fff;
    border: 3px solid #fff;
}

.lawyer-modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lawyer_title_field, .lawyer_subtitle_field {
    display: none;
}
/* ── Title ────────────────────────────────────────────────────── */
.lawyer-modal-title {
    font-size: 35px;
    letter-spacing: 0;
    color: #09222D;
    margin-bottom: 0;
    margin-top: 0px;
    line-height: 1;
}

.lawyer-modal-pretitle {
    display: block;
}

/* ── Subtitle ─────────────────────────────────────────────────── */
.lawyer-modal-subtitle {
    font-size: 22px;
    letter-spacing: 0;
    color: #09222D;
    margin: 12px 0 0 0; line-height: 1;
}

/* ── Form wrapper ─────────────────────────────────────────────── */
.lawyer-modal-form {
    margin-top: 25px;
}

/* ── Ninja Form field overrides ───────────────────────────────── */
.lawyer-modal-form .nf-form-content .list-select-wrap .nf-field-element > div,
.lawyer-modal-form .nf-form-content input[type="text"],
.lawyer-modal-form .nf-form-content input[type="email"],
.lawyer-modal-form .nf-form-content input[type="tel"],
.lawyer-modal-form .nf-form-content textarea {
    height: 58px !important;
    background: #FFFFFF !important;
    border: 1px solid #A28B4C !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 16px;
    color: #09222D;
    box-shadow: none !important;
    direction: rtl;
}

.lawyer-modal-form .nf-form-content textarea {
    height: auto !important;
    min-height: 80px;
    padding-top: 12px !important;
}

/* ── Ninja Form submit button ─────────────────────────────────── */
.lawyer-modal-form .nf-form-content .nf-field-element {
    display: flex;
}
.lawyer-modal-form .nf-form-content input[type="button"], .lawyer-modal-form .nf-form-content input[type="submit"], .lawyer-modal-form .nf-form-content button[type="submit"] {
    background: transparent linear-gradient(180deg, #133646 0%, #09222D 100%) !important;
    border: 2px solid #DDBE67 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 22px!important;
    font-weight: bold;
    height: 54px!important;
    width: 100%!important;
    cursor: pointer;
    transition: opacity 0.2s ease;
    max-width: 283px;
    margin: 0px auto!important;
    float: none!important;
}

.lawyer-modal-form .nf-form-content input[type="button"]:hover,
.lawyer-modal-form .nf-form-content input[type="submit"]:hover,
.lawyer-modal-form .nf-form-content button[type="submit"]:hover {
    opacity: 0.88;
}

/* ── Ninja Form label ─────────────────────────────────────────── */
.lawyer-modal-form .nf-form-content label {
    color: #09222D;
    font-weight: 600;
}

/* ── Ninja Form field spacing ─────────────────────────────────── */
.lawyer-modal-form .nf-field-container {
    margin-bottom: 14px !important;
}
.lawyer-modal-form .nf-field-container.checkbox-container {
        margin-bottom: 25px !important;  margin-top: -5px;
}
.lawyer-modal-form .checkbox-container label {
    font-size: 13px;
}
.lawyer-modal-form .checkbox-container label a {
    color: #09222D;
    text-decoration: underline;
}
.lawyer-modal-form .checkbox-wrap {
    display: flex;
    justify-content: center;
}
.lawyer-email-wrap{
    display: none;
}
/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 520px) {
    .lawyer-modal-content {
        padding: 32px 20px 28px;
    }

    .lawyer-modal-title {
        font-size: 26px;
        line-height: 32px;
    }

    .lawyer-modal-subtitle {
        font-size: 17px;
    }
}