/* Clean file upload styles */
.form-row__file-upload {
    position: relative;
    display: block;
    width: 100%;
}

.form-row__file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Drop zone for empty state */
.form-row__file-drop-zone {
    border: 1px dashed #ddd;
    border-radius: 4px;
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-row__file-drop-zone:hover,
.form-row__file-drop-zone.dragover {
    border-color: #999;
    background: #f9f9f9;
}

.form-row__file-drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.form-row__file-drop-icon {
    font-size: 32px;
    opacity: 0.6;
}

.form-row__file-drop-text {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.form-row__file-drop-hint {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Preview state */
.form-row__file-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-row__file-preview:hover,
.form-row__file-preview.dragover {
    border-color: #999;
    background: #f9f9f9;
}

.form-row__file-preview-image {
    flex-shrink: 0;
    position: relative;
}

.form-row__file-preview-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
}

.form-row__file-preview-icon {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.form-row__file-preview-icon::after {
    content: "✓";
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.form-row__file-preview-content {
    flex: 1;
}

.form-row__file-preview-label {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.form-row__file-preview-desc {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.form-row__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

@media (max-width: 768px) {
    .form-row__file-drop-zone {
        padding: 24px 16px;
    }
    
    .form-row__file-drop-icon {
        font-size: 36px;
    }
    
    .form-row__file-preview {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .form-row__file-preview-img {
        width: 100px;
        height: 75px;
    }
}
