/* Public member-issue form. Loaded via a plain <link> tag from
   pacpa_public_base - this module has no asset bundle, matching
   web_committee_app's approach. */

body.pacpa-public {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, 'Noto Sans Arabic', Arial, sans-serif;
    /* Guard against any stray horizontal overflow; in RTL this is what
       pushes mobile browsers onto an empty off-screen region. */
    overflow-x: hidden;
}

.pacpa-public input,
.pacpa-public textarea,
.pacpa-public select {
    direction: rtl;
    text-align: right;
}

/* Phone numbers and the reference code read left-to-right. */
.pacpa-public input#whatsapp {
    direction: ltr;
    text-align: left;
}

.pacpa-public-header {
    background-color: #fff;
    border-bottom: 3px solid var(--bs-primary, #0d6efd);
}

.pacpa-logo {
    height: 56px;
    width: auto;
    border-radius: 4px;
}

.pacpa-org-name {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
}

.pacpa-org-sub {
    color: #6c757d;
    font-size: 0.9rem;
}

.pacpa-public .card {
    border: none;
    border-radius: 10px;
}

.pacpa-public .form-label {
    font-weight: 600;
}

/* Honeypot: kept in the layout for bots, removed from view and from
   assistive technology for people. Not display:none - some bots skip those.
   Clip rather than offset: a large negative offset (left:-10000px) extends the
   scrollable area in an RTL document, which lands mobile Chrome on the empty
   region and renders the page blank. */
.pacpa-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 576px) {
    .pacpa-logo {
        height: 44px;
    }
    .pacpa-org-name {
        font-size: 0.95rem;
    }
}
