/* ==========================================================================
   Author page: content-type badge (News / Blog / Economy Report) beside the
   article date. This site's CSS bundle doesn't include Bootstrap's ms-*/me-*
   spacing utilities, so explicit margins are needed here instead.
   ========================================================================== */
.article-type-badge {
    display: inline-block !important;
    margin-left: 10px !important;
    color: #777;
}

.article-type-badge .fa-tag {
    margin-right: 4px !important;
    color: var(--color2);
}

[dir="rtl"] .article-type-badge {
    margin-left: 0 !important;
    margin-right: 10px !important;
}

[dir="rtl"] .article-type-badge .fa-tag {
    margin-right: 0 !important;
    margin-left: 4px !important;
}

footer .company-reg {
    max-width: 420px;
    margin: 15px auto 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    text-align: center;
    color: #ddd;
}

footer .company-reg-title {
    font-size: 16px;
    font-weight: 700;
}

footer .company-reg-number {
    font-size: 14px;
    color: #ddd;
    margin-top: 5px;
    padding-bottom: 10px;
}

[dir="rtl"] footer .copyrights,
[dir="rtl"] footer .company-reg {
    text-align: center;
}

/* ==========================================================================
   Admin tag-toggle checkboxes in control_btns.php — same visual language as
   the filter form's .option rows (border, hover, active/checked states).
   ========================================================================== */
.ctrl_btn_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
}

.tag_ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d4d4d4;
    background: #fff;
    color: #000;
    font-size: 12px;
    line-height: 1.2;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin: 0;
    transition: .3s all;
}

.tag_ctrl input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.tag_ctrl:hover {
    background-color: #333;
    color: #fff;
}

.tag_ctrl:has(input:checked) {
    background: #e6e6e6;
    color: #444;
    border-color: #bbb;
}

/* Property card's selected-tag badge — same look as .card-type, stacked under it */
.property-card .image .card-tag,
.card .image .card-tag {
    top: 50px;
}

/* WeChat QR modal: same dotted background treatment as .message-us .talk,
   instead of the sitewide beige .modal .modal-content .modal-header default.
   Applied to .modal-content since the header bar itself was removed. */
#wechat_qr_modal .modal-content {
    background-image: url("../images/dots.webp");
    background-color: #eaeaea;
    background-repeat-x: repeat;
    background-repeat-y: no-repeat;
    background-position: center calc(100% + 100px);
    border-radius: 16px;
    overflow: hidden;
}

#wechat_qr_modal .modal-body {
    padding: 35px 25px;
    background-color: #fff;
}

#wechat_qr_modal .modal-body img {
    max-width: 320px;
    width: 100%;
    border-radius: 8px;
}
