/* Shared styling for the newer sections (deliverers, ratings, notifications,
   real estate) — aligned with the site's navy identity and RTL layout. */

:root {
    --sec-navy: #0B1F3A;
    --sec-navy-soft: #1F3A5F;
    --sec-ink: #111827;
    --sec-muted: #6b7280;
    --sec-line: #e5e7eb;
    --sec-bg-soft: #eef2f7;
    --sec-wa: #25D366;
    --sec-danger: #b3261e;
    --sec-ok: #1E7D46;
    --sec-warn: #9a6a00;
}

.sec-wrap { max-width: 900px; margin: 0 auto; padding: 16px; }
.sec-wrap--narrow { max-width: 640px; }

.sec-head { margin: 6px 0 16px; }
.sec-head h1 { font-size: 1.4rem; color: var(--sec-navy); margin: 0 0 4px; font-weight: 800; }
.sec-head p { color: var(--sec-muted); margin: 0; font-size: .95rem; }

.sec-card {
    background: #fff;
    border: 1px solid var(--sec-line);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(11, 31, 58, .04);
}
.sec-card--pad { padding: 18px; }

/* Deliverer cards */
.dlv-card { display: flex; gap: 12px; align-items: center; }
.dlv-avatar {
    width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
    background: var(--sec-bg-soft); display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--sec-navy); font-size: 1.2rem; flex-shrink: 0;
}
.dlv-info { flex: 1; min-width: 0; }
.dlv-name { font-weight: 800; color: var(--sec-ink); }
.dlv-sub { color: var(--sec-muted); font-size: .9rem; margin-top: 2px; }
.dlv-rating { color: #b7791f; font-size: .9rem; margin-top: 4px; }
.dlv-rating span { color: #9ca3af; }

.sec-badge {
    display: inline-block; border-radius: 999px; padding: 3px 12px;
    font-size: .78rem; font-weight: 700; margin-top: 6px;
}
.sec-badge--ok { background: #e7f6ee; color: var(--sec-ok); }
.sec-badge--pending { background: #fef3c7; color: var(--sec-warn); }
.sec-badge--rejected { background: #fde8e8; color: var(--sec-danger); }

/* Buttons */
.sec-btn {
    border: 0; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700;
    cursor: pointer; color: #fff; background: var(--sec-navy); text-decoration: none; display: inline-block;
}
.sec-btn--wa { background: var(--sec-wa); white-space: nowrap; }
.sec-btn--ok { background: var(--sec-ok); }
.sec-btn--danger { background: var(--sec-danger); }
.sec-btn--sm { padding: 6px 12px; border-radius: 10px; font-size: .85rem; }

/* Forms */
.sec-field { margin: 12px 0; }
.sec-field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--sec-ink); }
.sec-field input, .sec-field textarea, .sec-field select {
    width: 100%; border: 1px solid #d1d5db; border-radius: 10px; padding: 10px; font: inherit;
}
.sec-inline-form { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.sec-inline-form select { width: auto; border: 1px solid #d1d5db; border-radius: 8px; padding: 5px 8px; }

.sec-hint { color: var(--sec-muted); font-size: .9rem; margin-top: 8px; }
.sec-empty { text-align: center; color: var(--sec-muted); padding: 48px 16px; }

/* Notifications */
.notif-item a { color: var(--sec-navy); text-decoration: none; font-weight: 700; }
.notif-item time { display: block; color: #9ca3af; font-size: .82rem; margin-top: 4px; }

/* Coming soon */
.sec-notice {
    background: var(--sec-bg-soft); border: 1px solid var(--sec-navy); color: var(--sec-navy);
    border-radius: 16px; padding: 22px; font-weight: 700; font-size: 1.05rem; text-align: center;
}
.sec-center { text-align: center; padding: 40px 16px; }
