/* ------------------------------------------------------------------
   Support UI shared by the public pages (site-pages.css) and the in-app
   tenant/landlord support pages: section titles, contact cards, the
   support form and the FAQ list. Variables fall back to the site colours
   so this works without site-pages.css.
   ------------------------------------------------------------------ */

/* .site-form prefix: pages that load Bootstrap again later (the in-app headers) would otherwise reset the button. */
.btn-maroon,
.site-form .btn-maroon {
    background-color: var(--primary-maroon, #8B1C4D);
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
}
.btn-maroon:hover,
.site-form .btn-maroon:hover {
    background-color: var(--primary-maroon-hover, #6a153b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 28, 77, 0.3);
}

.section-subtitle {
    color: var(--primary-maroon, #8B1C4D);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.page-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.page-lead { color: var(--text-muted, #666666); font-size: 1.05rem; line-height: 1.75; }

.tile-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 28, 77, 0.08);
    color: var(--primary-maroon, #8B1C4D);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-list { display: grid; gap: 16px; }
.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 22px 24px;
    color: var(--text-dark, #333333);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
a.contact-item:hover { border-color: var(--primary-maroon, #8B1C4D); transform: translateX(4px); color: var(--text-dark, #333333); }
.contact-item .tile-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 1.1rem; }
.contact-item small { display: block; color: var(--text-muted, #666666); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-item strong { font-weight: 600; word-break: break-word; }
.contact-item .hours-row { display: flex; justify-content: space-between; gap: 18px; font-size: 0.95rem; }

.site-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
}
.site-form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.site-form .form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark, #333333); margin-bottom: 6px; }
.site-form .form-control,
.site-form .form-select {
    border-radius: 14px;
    border: 1px solid #e3e3e3;
    padding: 12px 16px;
    background-color: #FAFAFA;
    font-size: 0.95rem;
}
.site-form .form-control:focus,
.site-form .form-select:focus {
    border-color: var(--primary-maroon, #8B1C4D);
    box-shadow: 0 0 0 4px rgba(139, 28, 77, 0.1);
    background-color: #ffffff;
}
.site-form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.site-form-actions .btn-maroon { padding: 12px 32px; }
.site-form-actions .btn-maroon:disabled { opacity: 0.7; transform: none; }
.site-form-note { font-size: 0.82rem; color: var(--text-muted, #666666); }
.site-form-status { margin-top: 18px; font-size: 0.92rem; border-radius: 14px; }
.site-form-status:empty { display: none; }
.site-form-status.is-ok { padding: 14px 18px; background: #EAF6EE; color: #1E6B3A; }
.site-form-status.is-error { padding: 14px 18px; background: #FBEAEA; color: #9B2222; }
@media (max-width: 575.98px) { .site-form { padding: 28px 22px; } }

.faq-item {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 18px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { border-color: rgba(139, 28, 77, 0.35); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--primary-maroon, #8B1C4D);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-muted, #666666); line-height: 1.75; font-size: 0.95rem; }
.faq-item .faq-body p:last-child, .faq-item .faq-body ul:last-child { margin-bottom: 0; }
.faq-item .faq-body ul { padding-left: 0; }
.faq-item .faq-body li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.faq-item .faq-body li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-maroon, #8B1C4D); }
