/* Page toolbar & actions — aligned with XCommunity operation-toolbar pattern (.bc-header / .bc-toolbar / .bc-btn) */
.bc-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 24px 16px;
    margin-bottom: 0;
    border-bottom: none;
}

.bc-header__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: inherit;
}

.bc-header__left {
    width: 100%;
}

.bc-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    padding: 12px 0 14px;
    margin: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    box-shadow: none;
}

.bc-toolbar .bc-btn {
    padding: 6px 16px;
    min-height: 0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
}

a.bc-btn {
    text-decoration: none;
    box-sizing: border-box;
}

.bc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #3c3c43;
    letter-spacing: -0.01em;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}

.bc-btn__icon {
    font-size: 1rem;
    line-height: 1;
    color: #0d6efd;
    transition: color 0.12s ease;
}

.bc-btn:hover:not(:disabled) {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.bc-btn:active:not(:disabled) {
    transform: scale(0.98);
    box-shadow: none;
}

.bc-btn:disabled,
.bc-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.bc-btn--sm {
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 10px;
}

.bc-btn--primary {
    background: #212529 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

.bc-btn--primary .bc-btn__icon {
    color: #ffffff !important;
}

.bc-btn--primary:hover:not(:disabled) {
    background: #343a40 !important;
    box-shadow: none !important;
}

.bc-btn--primary:active:not(:disabled) {
    background: #1a1d20 !important;
    transform: none;
}

.bc-btn--outline {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #212529 !important;
    box-shadow: none !important;
}

.bc-btn--outline:hover:not(:disabled) {
    background: #f8f9fa !important;
    border-color: #ced4da !important;
    box-shadow: none !important;
}

.bc-btn--outline:active:not(:disabled) {
    transform: none;
}

.bc-btn--outline .bc-btn__icon {
    color: #212529 !important;
}

@media (max-width: 640px) {
    .bc-header {
        padding: 12px 16px;
    }
}
