/* WC File Upload – Frontend Styles */

.wcfu-wrapper {
    margin: 16px 0 20px;
    direction: rtl;
    text-align: right;
}

.wcfu-field-label {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 8px;
    color: #333;
}

.wcfu-required-star {
    color: #e2401c;
    margin-right: 2px;
}

.wcfu-optional {
    font-weight: 400;
    font-size: 12px;
    color: #888;
}

.wcfu-field-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Styled button rendered by JS – just base reset here */
.wcfu-btn {
    flex-shrink: 0;
}

.wcfu-btn:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: 3px;
}

.wcfu-status {
    font-size: 13px;
    color: #777;
    word-break: break-all;
    transition: color 0.2s;
}

.wcfu-status.wcfu-has-file {
    color: #3a7d44;
    font-weight: 500;
}

.wcfu-allowed-types {
    margin: 6px 0 0;
    font-size: 11px;
    color: #aaa;
}

/* Disabled Add to Cart */
button.single_add_to_cart_button.wcfu-atc-disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}
