/* FC / BN toolbar links — overrides RS .enterLink float + link styles in FC context. */

.bvg-pm-fc-rs-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    float: none !important;
    margin: 0 !important;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    background: #fff;
    color: #333 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.bvg-pm-fc-rs-action-primary {
    border-color: var(--bvg-primary, #c8102e);
    color: var(--bvg-primary, #c8102e) !important;
}

button.bvg-pm-fc-rs-action {
    border: 1px solid #d1d1d1;
    background: #fff;
    color: #333 !important;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 9px;
}

.bvg-pm-fc-rs-action:hover,
.bvg-pm-fc-rs-action:focus {
    background: #f5f5f5;
    border-color: #aaa;
    color: #333 !important;
    text-decoration: none !important;
}

.bvg-pm-fc-rs-action-primary:hover,
.bvg-pm-fc-rs-action-primary:focus {
    background: #fff5f6;
    border-color: var(--bvg-primary, #c8102e);
    color: var(--bvg-primary, #c8102e) !important;
}

.bvg-pm-fc-rs-action-icon {
    width: auto;
    padding-left: 8px;
    padding-right: 8px;
    justify-content: center;
}

.bvg-pm-fc-qr-overview .bvg-pm-fc-rs-action,
.bvg-pm-fc-assets-table .bvg-pm-fc-rs-action {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px !important;
}

.FeaturedSimpleLinks .bvg-pm-bn-actions,
.FeaturedSimpleLinks .bvg-pm-bn-qr-actions {
    gap: 10px !important;
}

.FeaturedSimpleLinks .bvg-pm-bn-btn {
    gap: 6px;
    min-height: 28px !important;
    padding: 5px 10px !important;
    box-shadow: none;
}

.FeaturedSimpleLinks .bvg-pm-bn-btn-export {
    width: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.bvg-pm-fc-rs-action-icon .fa {
    margin-right: 0;
}

/* RS icon font-size on toolbar links */
.bvg-pm-fc-rs-action [class^="icon-"],
.bvg-pm-fc-rs-action [class*=" icon-"],
.bvg-pm-bn-btn [class^="icon-"],
.bvg-pm-bn-btn [class*=" icon-"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* BN-Produktdetail (design-ui.js → .bvg-bn-overview): gefüllter Primary-Button */
.bvg-bn-overview .bvg-pm-fc-rs-action {
    min-height: 36px;
    border-radius: 4px;
    box-shadow: none;
    font-size: 13px;
}

.bvg-bn-overview .bvg-pm-fc-rs-action-primary {
    background: var(--bvg-primary);
    color: #fff !important; /* RS/pilot link colour */
}

.bvg-bn-overview .bvg-pm-fc-rs-action-primary:hover,
.bvg-bn-overview .bvg-pm-fc-rs-action-primary:focus {
    background: var(--colour-brand-primary-dark);
    color: #fff !important;
}

.bvg-pm-content-add-menu {
    display: inline-block;
    position: relative;
}

.bvg-pm-content-add-menu summary {
    list-style: none;
    cursor: pointer;
}

.bvg-pm-content-add-menu summary::-webkit-details-marker {
    display: none;
}

.bvg-pm-content-add-menu-body {
    position: absolute;
    z-index: 20;
    min-width: 16rem;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(32, 37, 45, 0.12);
}

.bvg-pm-fc-actions .bvg-pm-content-add-menu-body {
    right: 0;
}

.bvg-pm-content-add-option {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    color: #333 !important;
    text-decoration: none !important;
}

.bvg-pm-content-add-option:hover,
.bvg-pm-content-add-option:focus {
    background: #f5f5f5;
}

.bvg-pm-content-add-option strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}

.bvg-pm-content-add-option span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #666;
    line-height: 1.35;
}

.bvg-pm-content-add-hint {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #666;
    line-height: 1.35;
}

.bvg-pm-upload-launcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 12px 0 16px;
    padding: 14px 16px;
    border: 1px dashed #c8c8c8;
    border-radius: 6px;
    background: #fafafa;
}

.bvg-pm-upload-direct {
    float: none !important;
}

.bvg-pm-upload-launcher-hint {
    margin: 0;
    flex: 1 1 16rem;
    font-size: 12px;
    line-height: 1.4;
    color: #555;
}

.bvg-pm-workflow-content-links .bvg-pm-upload-launcher {
    margin-top: 0;
}

.bvg-pm-bn-edit-quiet {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 400;
    color: #888;
}

.bvg-pm-bn-edit-quiet a {
    color: #666 !important;
    font-weight: 400 !important;
    text-decoration: underline !important;
}

.bvg-pm-fc-panel-header .bvg-pm-mc-bulk-edit {
    margin-left: auto;
}

