/*
Theme Name: Aqar Exit
Theme URI: https://aqarexit.com
Author: Aqarex
Description: Aqar Exit WordPress theme based on the supplied production UI, with seller/buyer marketplace workflow.
Version: 1.2.0
Text Domain: aqarexit
Tags: real-estate, rtl, arabic
*/

/* RTL + WordPress bridge. The production CSS remains the visual base. */
html { direction: rtl; }
body { direction: rtl; }
.wp-site-blocks, .site, main { direction: rtl; }

/* Keep the original production UI readable inside WordPress. */
.aqx-wp-page { direction: rtl; }

/* Public opportunity UI: retain the established feature styles, but use the production palette. */
.aqx-opportunity-page { background: var(--ae-surface-page, #f5f6f8); color: var(--ae-text-primary, #0f172a); }
.aqx-opportunity-page .aqx-detail-container { margin-inline: auto; }
.aqx-card-button, .aqx-form button { background: var(--ae-support-teal-action, #0f766e); }
.aqx-card-button:hover, .aqx-form button:hover { background: var(--ae-support-teal-action-hover, #115e59); }
.aqx-market-highlight, .aqx-market-panel { background: var(--ae-success-bg, #f0fdf4); }
.aqx-main-price, .aqx-cash-main strong { color: var(--ae-text-primary, #0f172a); }

/* Base source is RTL-aware; these rules correct the few flex/grid areas that otherwise read LTR. */
[dir="rtl"] .justify-between { direction: rtl; }
[dir="rtl"] .aqx-opportunity-card, [dir="rtl"] .aqx-detail-container, [dir="rtl"] .aqx-sell-wrap, [dir="rtl"] .aqx-account-wrap { direction: rtl; }

/* The supplied production UI uses the exact Plex font family; make WordPress inherit it. */
body, button, input, select, textarea { font-family: plexArabic, Tahoma, Arial, sans-serif; }

/* Avoid WordPress admin-bar offset breaking the sticky production header. */
body.admin-bar header.sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.sticky { top: 46px; } }

/* Final workflow additions */
.aqx-review-reason{margin:12px 0;padding:12px 14px;background:#fff7e6;border:1px solid #f4d48a;border-radius:10px;color:#7a4d00;font-size:13px;line-height:1.8}
.aqx-documents-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.aqx-doc-item{padding:8px 11px;background:#eef7ff;border:1px solid #cfe3f5;border-radius:9px;color:#155e8a;font-size:12px}
.aqx-existing-docs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;padding:12px;background:#f8fafc;border-radius:10px}.aqx-existing-docs a{padding:7px 10px;background:#fff;border:1px solid #dfe5eb;border-radius:8px;color:#1554a6;font-size:12px}
.aqx-login-page{min-height:70vh;background:#f4f6f8;padding:70px 16px}.aqx-login-card{width:min(470px,100%);margin:auto;background:#fff;border:1px solid #e1e5ea;border-radius:18px;padding:30px;box-shadow:0 12px 40px rgba(13,23,43,.07);text-align:right}.aqx-login-card h1{margin:12px 0 7px;color:#0b1428;font-size:30px}.aqx-login-card>p{color:#667085;line-height:1.8}.aqx-login-card form p{margin:0 0 16px}.aqx-login-card form label{display:block;font-weight:700;color:#344054;font-size:14px}.aqx-login-card form input[type=text],.aqx-login-card form input[type=password]{width:100%;margin-top:7px;padding:13px;border:1px solid #d0d5dd;border-radius:10px;font:inherit}.aqx-login-card form .login-remember{font-size:13px;font-weight:500}.aqx-login-card form .button{width:100%;min-height:46px;border:0;border-radius:10px;background:#0c8b80;color:#fff;font:inherit;font-weight:800;cursor:pointer}.aqx-forgot{display:block;text-align:center;margin:15px 0;color:#1554a6;font-size:13px;font-weight:700}.aqx-login-register{border-top:1px solid #eaecf0;padding-top:16px;margin-top:16px!important;text-align:center;font-size:13px}.aqx-login-register a{color:#0c8b80;font-weight:800}.aqx-login-error{background:#fff0ef;color:#b42318;border:1px solid #f4c7c3;border-radius:9px;padding:10px;margin:12px 0;font-size:13px}
