.members-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.members-heading h1 {
    margin: 0;
    font-size: 22px;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.members-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #198754;
    background: #198754;
    color: #fff;
}

.panel-card,
.search-card {
    background: #fff;
    border: 1px solid #e3e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.search-card {
    padding: 12px;
    margin-bottom: 10px;
}

.search-card label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 700;
}

.search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.search-row select,
.search-row button {
    min-height: 42px;
    border-radius: 10px;
}

.search-row select {
    flex: 1;
    border: 1px solid #d5d9de;
    padding: 0 12px;
    font-size: 15px;
    background: #fff;
}

.search-row button {
    min-width: 72px;
    border: none;
    background: #6c757d;
    color: #fff;
    font-weight: 700;
    padding: 0 14px;
}

.list-block {
    padding: 0;
}

.list-row {
    padding: 10px 12px;
    border-bottom: 1px solid #edf0f2;
}

.list-row:last-child {
    border-bottom: none;
}

.list-row h3 {
    margin: 0;
    font-size: 15px;
    color: #212529;
}

.list-row p {
    margin: 4px 0 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.45;
}

.row-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    color: #6c757d;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid #d5d9de;
    background: #f8f9fa;
    color: #495057;
}

.announcement-status-tag.is-draft {
    background: #f1f3f5;
    border-color: #ced4da;
    color: #495057;
}

.announcement-status-tag.is-published {
    background: #ebfbee;
    border-color: #b2f2bb;
    color: #2b8a3e;
}

.announcement-status-tag.is-archived {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #868e96;
}

.announcement-pin-tag {
    background: #fff9db;
    border-color: #ffe066;
    color: #e67700;
}

.member-action-row {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.member-action-button {
    width: 42px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
}

.member-action-button.preview {
    border-color: #adb5bd;
    color: #6c757d;
}

.member-action-button.edit {
    border-color: #74c0fc;
    color: #1c7ed6;
    background: #e7f5ff;
}

.member-action-button.publish {
    border-color: #8ce99a;
    color: #2b8a3e;
    background: #ebfbee;
}

.member-action-button.delete {
    border-color: #ffb3b3;
    color: #e03131;
    background: #fff5f5;
}

.events-list-summary {
    margin: 10px 2px;
    color: #6c757d;
    font-size: 13px;
}

.member-create-card {
    padding: 14px;
}

.member-form-label {
    display: block;
    margin: 6px 0;
    font-size: 13px;
    font-weight: 700;
    color: #495057;
}

.member-form-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d5d9de;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 15px;
    background: #fff;
    margin-bottom: 10px;
}

.member-form-textarea {
    min-height: 140px;
    padding: 10px 12px;
    resize: vertical;
}

.required-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #fff5f5;
    color: #c92a2a;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #ffc9c9;
}

.member-active-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #495057;
}

.member-submit-button,
.member-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
}

.member-submit-button {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.member-cancel-button {
    background: #fff;
    border-color: #ced4da;
    color: #495057;
}

.member-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.pagination-wrap {
    margin-top: 8px;
}

@media (max-width: 576px) {
    .members-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .members-add-button {
        width: 100%;
    }
}
