.member-form-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-form-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.member-form-toolbar .ec-btn {
    min-height: 44px;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ec-btn-primary { background: #2563eb; color: #fff; }
.ec-btn-primary:hover { background: #1d4ed8; }
.ec-btn-success { background: #16a34a; color: #fff; }
.ec-btn-success:hover { background: #15803d; }
.ec-btn-secondary { background: #4b5563; color: #fff; }
.ec-btn-secondary:hover { background: #374151; }
.ec-btn-accent { background: #7c3aed; color: #fff; }
.ec-btn-accent:hover { background: #6d28d9; }
.ec-btn-outline { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.ec-btn-outline:hover { background: #f3f4f6; }

.member-form-mode {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #374151;
}

.member-form-status {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

.member-form-reference {
    margin-top: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    background: #fff;
}

.member-form-reference img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e5e7eb;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media print {
    @page { size: A4; margin: 0; }
    body { margin: 0; padding: 0; background: white !important; }
    .no-print { display: none !important; }
    #form-container {
        box-shadow: none !important;
        margin: 0 !important;
        width: 210mm !important;
    }
}
