/* Form Hub */

.bcf-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bcf-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    vertical-align: middle;
    margin-left: 6px;
}

.bcf-badge-hub {
    background: #6b7280;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 6px;
}

.bcf-badge-outdated {
    background: #fce8e6;
    color: #d93025;
    margin-right: 10px;
}

.bcf-badge-imported {
    background: #e6f4ea;
    color: #137333;
    cursor: default;
}

.bcf-is-hidden {
    display: none !important;
}

#profor-form-hub-modal {
    display: none;
}

.bcf-modal-lg .bcf-modal-content {
    max-width: 720px;
}

#profor-form-hub-modal .bcf-modal-content {
    border-radius: 19px;
    width: 100%;
    max-width: 862px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    left: calc(50% - 431px);
    top: 25%;
}

.bcf-hub-search {
    margin-bottom: 16px;
}

.bcf-hub-search input {
    width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
}

.bcf-hub-forms-list {
    max-height: 420px;
    overflow-y: auto;
}

.bcf-hub-loading,
.bcf-hub-error {
    text-align: center;
    padding: 20px 0;
    color: #5f6368;
}

.bcf-hub-error {
    color: #d93025;
}

.bcf-hub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fff;
    transition: border-color 0.15s;
}

.bcf-hub-card:hover {
    border-color: #1a73e8;
}

.bcf-hub-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bcf-hub-card-info strong {
    font-size: 14px;
    color: #202124;
}

.bcf-hub-card-meta {
    font-size: 12px;
    color: #80868b;
}

.bcf-hub-card-actions {
    flex-shrink: 0;
    margin-left: 12px;
}

.bcf-hub-pagination {
    margin-top: 12px;
    text-align: center;
}

.bcf-hub-pagination .bcf-pagination-btn {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 2px;
    border-radius: 3px;
    text-decoration: none;
    color: #1a73e8;
    font-size: 13px;
}

.bcf-hub-pagination .bcf-current {
    background: #1a73e8;
    color: #fff;
}

.bcf-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100100;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s;
    color: #fff;
}

.bcf-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.bcf-toast-success {
    background: #137333;
}

.bcf-toast-error {
    background: #d93025;
}

.bcf-toast-warning {
    background: #ea8600;
}

.bcf-toast-info {
    background: #1a73e8;
}
