/* Shared styles for the public site (loaded on every active page).
   Keep this file small; page layout uses Tailwind classes. */

/* Leave room for the mobile sticky action bar so the footer is not covered. */
@media (max-width: 767px) {
    body { padding-bottom: 4.5rem; }
    .ks-consent { bottom: 5.5rem; }
}

/* Cookie consent banner */
.ks-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    max-width: 42rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #0F172A;
    color: #E2E8F0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.45);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.ks-consent p { flex: 1 1 16rem; margin: 0; }
.ks-consent a { color: #F97316; text-decoration: underline; }
.ks-consent-actions { display: flex; gap: 0.5rem; }
.ks-consent button {
    font: inherit;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background: transparent;
    color: #F8FAFC;
    cursor: pointer;
}
.ks-consent button.ks-accept { background: #F97316; border-color: #F97316; color: #fff; }
.ks-consent button:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

/* Inline form validation messages */
.ks-field-error {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #FCA5A5;
}
