/**
 * Obtecs MultiUpload - Frontend Styles
 */

.obtecs-multiupload-wrapper {
    margin-top: 10px;
}

.obtecs-file-list {
    margin-bottom: 10px;
}

.obtecs-file-row {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 8px 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background 0.2s;
}

.obtecs-file-row:hover {
    background: #f0f0f0;
}

.obtecs-file-row img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.obtecs-file-info {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.obtecs-remove-file {
    color: #e02b27;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0 5px;
    opacity: 0.7;
}

.obtecs-remove-file:hover {
    opacity: 1;
}

.obtecs-add-file-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #1979c3;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    margin-right: 10px;
}

.obtecs-add-file-btn:hover {
    background: #006bb4;
}

.obtecs-add-file-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.obtecs-file-counter {
    font-size: 12px;
    color: #888;
    display: inline-block;
    vertical-align: middle;
}

.obtecs-upload-error {
    font-size: 12px;
    color: #e02b27;
    margin-top: 5px;
}

.obtecs-upload-info {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
}

/* ── Hide native Magento file option UI elements ── */
/* Hides "Compatible file extensions...", "Maximum image width..." messages */
.field-option-file .file-info,
.field-option-file .note,
.field-option-file .field-note,
.product-custom-option[type="file"] ~ .note,
.product-custom-option[type="file"] ~ p,
.product-custom-option[type="file"] ~ .file-info,
.product-custom-option[type="file"] + label + .note,
.product-options-wrapper .file-info,
.product-options-wrapper .field .note {
    display: none !important;
}
