body {
    margin: 0;
    padding: 0;
    background: #f4f6fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.contact-card {
    max-width: 520px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 18px 20px 22px;
}

.contact-intro {
    margin-bottom: 10px;
}

.contact-intro p {
    margin: 4px 0 0;
    font-size: 0.95em;
    color: #555;
}

.contact-field {
    margin-bottom: 12px;
}

.contact-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9em;
    color: #333;
    font-weight: 600;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
    width: 100%;
    padding: 8px 9px;
    border-radius: 4px;
    border: 1px solid #ccd1d9;
    font-size: 0.95em;
    box-sizing: border-box;
}

.contact-field textarea {
    min-height: 90px;
    resize: vertical;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.captcha-row span {
    white-space: nowrap;
}

.captcha-row input[type="text"] {
    max-width: 90px;
}

.contact-submit-row {
    margin-top: 14px;
    text-align: right;
}

.contact-submit {
    padding: 9px 20px;
    border-radius: 6px;
    background: #002b5c;  /* navy */
    color: #ffdd00;       /* yellow */
    border: 2px solid #ffdd00;
    font-weight: bold;
    font-size: 0.95em;
    cursor: pointer;
}

.contact-submit[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.back-link {
    margin-top: 16px;
    text-align: left;
}

.back-link a {
    font-size: 0.9em;
    color: #002b5c;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.alert-error {
    background: #ffe5e5;
    border: 1px solid #e39b9b;
    color: #7a2222;
}

.alert-success {
    background: #e7ffe9;
    border: 1px solid #8dcf9b;
    color: #21572a;
}

/* Toast message (bottom centre) */
#toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(0, 43, 92, 0.98); /* navy */
    color: #ffdd00;                    /* yellow */
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

#toast.show {
    opacity: 1;
}

/* PERFECT MATCH: Header used across all BRN pages */
.brn-header {
    text-align: center;
    background: #001B5C;
    padding: 18px 10px 22px;
    border-radius: 12px;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.brn-header-logo {
    width: 90px;
    height: auto;
    margin: 0 auto 8px;
    display: block;
}

.brn-header-title {
    color: #FFDD00;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 auto 4px;
    text-align: center;
}

.brn-header-sub {
    color: #FFF7A8;
    font-size: 0.95rem;
    text-align: center;
    margin: 0 auto;
}

/* FOOTER (matches intro & about pages) */
footer {
    text-align: center;
    margin: 30px auto 0;
    padding: 15px;
    font-size: 0.85rem;
    color: #ddd;
    width: 100%;
    max-width: 520px;
}
